[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: encode-time doesn't work on epoch + TZ
From: |
Richard Stallman |
Subject: |
Re: encode-time doesn't work on epoch + TZ |
Date: |
Thu, 07 Aug 2003 02:05:14 -0400 |
(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)
That one works ok for me.
However, dates considerably earlier do fail.
It looks like they fail because mktime cannot handle them.
I don't think there's any way to fix this except to rewrite it
completely, and that doesn't seem worth while. So I will
document it. Thanks.