[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23600: 25.1.50; encode-time returns wrong result
From: |
Kazuhiro Ito |
Subject: |
bug#23600: 25.1.50; encode-time returns wrong result |
Date: |
Mon, 23 May 2016 07:10:54 +0900 |
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) |
When I evaluate the below code on Emacs (trunk, MSYS2), it returns
wrong result.
(list
;; local time-zone is JST-9 in my environment.
(encode-time 0 02 23 22 5 2016 nil)
(encode-time 0 02 23 22 5 2016 '(32400 "JST"))
(encode-time 0 02 23 22 5 2016 32400))
-> ((22337 48088) (22338 11352) (22338 43752))
The first element of the result depends on local time-zone. But the
second and the last element should be (22337 48088).
--
Kazuhiro Ito
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#23600: 25.1.50; encode-time returns wrong result,
Kazuhiro Ito <=