Re: Y2K fix for emacs19(potato/slink) and emacs20(slink)
>>>>> On 30 Dec 1999 09:52:07 +0900
>>>>> "CR" == Changwoo Ryu <cwryu@debian.org> wrote...
CR> kitame@northeye.org (Takuo KITAME) writes:
RM> I'm running emacs 19.34, compiled back in Sep 1996, on Linux, Solaris and
RM> IRIX64. I haven't found a definitive answer as to whether or not it has
RM> Y2K problems.
>>
RM> Does anybody know if timezone.el is the only problem?
>>
>> for example, please try following code.
>>
>> % emacs19 -no-site-file -q
>>
>> (progn
>> (require 'timezone)
>> (timezone-parse-date "Sat, 1 Jan 00 07:00:00 JST"))
>>
>>
>> ;; then right ( Emacs-20.5 or XEmacs )
-> ["2000" "1" "1" "07:00:00" "JST"]
CR> Why is this right?
CR> Well, it is neither right nor wrong. It's very nonsense to write the
CR> year 2000 as the two digits, "00".
Humm.. it's ad-hoc fix...
Just modified MIN(1900 to 1970) and MAX(1999 to 2069) of year.
I think that it is nonsense but better than "00 is 1900".
Regards.
--
Takuo KITAME
kitame@northeye.org
Reply to: