[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
encode-time doesn't work on epoch + TZ
From: |
Mark A. Hershberger |
Subject: |
encode-time doesn't work on epoch + TZ |
Date: |
Sat, 02 Aug 2003 02:03:37 -0500 |
(encode-time 0 0 18 31 12 1969 0) gives the following:
Debugger entered--Lisp error: (error "Specified time is not representable")
encode-time(0 0 18 31 12 1969 0)
eval((encode-time 0 0 18 31 12 1969 0))
eval-expression((encode-time 0 0 18 31 12 1969 0) nil)
call-interactively(eval-expression)
(encode-time 0 0 0 0 1 1970 0) gives (-2 44672)
Times before 1970 seem to fail completely.
In GNU Emacs 21.3.50.3 (i386-debian-linux-gnu)
of 2003-07-16 on thetick
configured using `configure 'i386-debian-linux-gnu' '--prefix=/usr'
'--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--without-liem' '--with-x=yes' '--with-gtk' 'CFLAGS=-DDEBIAN -O2 -g'
'build_alias=i386-debian-linux-gnu' 'host_alias=i386-debian-linux-gnu'
'target_alias=i386-debian-linux-gnu''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: nil
Recent input:
C-b C-b C-b C-b C-b C-b C-b C-b C-b <backspace> 1 C-f
C-f <backspace> 0 <return> M-: M-p C-e C-b C-b C-b
C-b C-b C-b C-b C-b <backspace> 1 2 M-b M-b 3 <return>
M-: M-p C-e C-b C-b C-b <backspace> <backspace> 7 6
<backspace> <backspace> 6 8 <backspace> 9 <return>
M-: M-p C-e C-b C-b C-b C-b C-b C-b C-b b <backspace>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <double-down-mouse-1>
<double-mouse-1> C-x o C-b <C-backspace> 1 2 <return>
M-x d e b <tab> u <tab> SPC <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> r e p o <tab> r <tab> <return>
Recent messages:
(0 64800)
(-1 43936)
Entering debugger...
(480 57120)
Entering debugger... [2 times]
Making completion list...
call-interactively: Text is read-only [2 times]
Making completion list...
Loading emacsbug...done
End of buffer. Type q to quit viewing.
- encode-time doesn't work on epoch + TZ,
Mark A. Hershberger <=