Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
lyskom-elisp-client
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • lyskom-elisp-client
  • lyskom-elisp-client
  • Issues
  • #14

Closed
Open
Created Aug 06, 2020 by Kent Engström@kent

Emacs 28.0.50 decode-time error "Invalid time specification"

I did a quick test with Emac 28.0.50 (master branch from yesterday) and could login but not read a text, failing at

(decode-time '(24361 35390 nil))

from lyskom-calculate-day-diff from lyskom-format-time from lyskom-view-text.

The error is (error "Invalid time specification") and seems to be due to the function no longer accepting exactly type of arguments used.

26.3:

The optional TIME should be a list of (HIGH LOW . IGNORED), as from ‘current-time’ and ‘file-attributes’, or nil to use the current time. It can also be a single integer number of seconds since the epoch. The obsolete form (HIGH . LOW) is also still accepted.

28.0.50:

The optional TIME is the time value to convert. See ‘format-time-string’ for the various forms of a time value.

and there

A time value that is omitted or nil stands for the current time, a number stands for that many seconds, an integer pair (TICKS . HZ) stands for TICKS/HZ seconds, and an integer list (HI LO US PS) stands for HI*216 + LO + US/106 + PS/10**12 seconds. This function treats seconds as time since the epoch of 1970-01-01 00:00:00 UTC.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None