unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23600: 25.1.50; encode-time returns wrong result
@ 2016-05-22 22:10 Kazuhiro Ito
  2016-06-01  8:19 ` Paul Eggert
  0 siblings, 1 reply; 16+ messages in thread
From: Kazuhiro Ito @ 2016-05-22 22:10 UTC (permalink / raw)
  To: 23600

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





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-06-14 14:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-22 22:10 bug#23600: 25.1.50; encode-time returns wrong result Kazuhiro Ito
2016-06-01  8:19 ` Paul Eggert
2016-06-02  1:54   ` Kazuhiro Ito
2016-06-02  6:38     ` Paul Eggert
2016-06-05 11:08       ` Kazuhiro Ito
2016-06-12 10:45       ` Kazuhiro Ito
2016-06-13 21:54         ` Paul Eggert
2016-06-14 14:05           ` Kazuhiro Ito
2016-06-14 14:40             ` Paul Eggert
2016-06-04 15:51   ` Eli Zaretskii
2016-06-04 17:15     ` Paul Eggert
2016-06-04 17:37       ` Eli Zaretskii
2016-06-04 22:18         ` Paul Eggert
2016-06-05  2:47           ` Eli Zaretskii
2016-06-05 15:20             ` Eli Zaretskii
2016-06-06  1:48               ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).