Re: Y2K fix for emacs19(potato/slink) and emacs20(slink)
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"]
Why is this right?
Well, it is neither right nor wrong. It's very nonsense to write the
year 2000 as the two digits, "00".
> ;; then wrong ( before Emacs-20.4 )
> -> ["1900" "1" "1" "07:00:00" "JST"]
--
Changwoo Ryu
Reply to: