timezone-fix-time

Yuuichi Teranishi teranisi @ gohome.org
2001年 3月 26日 (月) 11:58:03 JST


At 23 Mar 2001 16:02:24 +0900,
Katsumi Yamaoka wrote:
> 
> 土屋さん> 2001-03-23  TSUCHIYA Masatoshi  <tsuchiya @ pine.kuee.kyoto-u.ac.jp>
> 
> 土屋さん> 	* timezone.el (timezone-parse-date): Import from Emacs-20.7.
> 
> やっときました。

Y2K 問題が無いけど、parser が古い timezone.el をもつ Emacsen (XEmacs?)
向けに、こんなのが要るのではないでしょうか?

Index: EMU-ELS
===================================================================
RCS file: /cvs/root/apel/EMU-ELS,v
retrieving revision 1.31
diff -u -r1.31 EMU-ELS
--- EMU-ELS	2000/04/25 00:09:07	1.31
+++ EMU-ELS	2001/03/26 02:46:40
@@ -173,6 +173,12 @@
 			    0)
 		      "2000")
 	     (error "timezone.el has Y2K problem. Install fixed version."))
+	 ;; Old parser test.
+	 (if (string= 
+	      (aref (timezone-parse-date "Wednesday, 31-Jan-01 09:00:00 GMT")
+		    0)
+	      "0")
+	     (error "timezone.el has old date parser. Install fixed version."))
 	 ;; no problem.
 	 '())
      (error

--
Yuuichi Teranishi (寺西裕一) <teranisi @ gohome.org>
PGP 5.0i Public Key: http://www.gohome.org/pgp5/teranisi.key
"For tomorrow may rain, so I'll follow the sun."




More information about the APEL-ja mailing list