|
From: | Kazuhiro Ito |
Subject: | bug#23600: 25.1.50; encode-time returns wrong result |
Date: | Sun, 12 Jun 2016 12:45:32 +0200 |
User-agent: | Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.1.50 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO) |
I noticed that calling format-time-string (or encode-time) with time-zone string fixes the problem. But I can't see why. (list (progn (set-time-zone-rule "<AAA>-1") (current-time-zone)) (progn (set-time-zone-rule "BBB-2") (current-time-zone)) (progn (format-time-string "" nil "UTC0") (current-time-zone))) -> ((3600 "AAA") (3600 "AAA") (7200 "BBB")) -- Kazuhiro Ito
[Prev in Thread] | Current Thread | [Next in Thread] |