bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date-to-time does not understand dates pre-1970


From: Andreas Schwab
Subject: Re: date-to-time does not understand dates pre-1970
Date: 12 Nov 2001 10:14:33 +0100
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.1

Niklas Morberg <niklas.morberg@axis.com> writes:

|> In GNU Emacs 21.1.1 (i386-mingw-nt5.0.2195)
|>  of 2001-10-22 on PCNIKLAS2
|> configured using `configure --with-gcc (2.95)'
|> 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: SVE
|>   locale-coding-system: iso-latin-1
|>   default-enable-multibyte-characters: t
|> 
|> Please describe exactly what actions triggered the bug
|> and the precise symptoms of the bug:
|> 
|> date-to-time fails to recognize dates before 1970.
|> Evaluating the following expression with C-x C-e
|> will trigger the error on my platform:
|> 
|> (date-to-time "Jan 1 00:00:00 1969")

I cannot reproduce that on ia64-suse-linux.  This is probably a limitation
of your system that it cannot represent dates before the Unix epoch.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de                          completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]