From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
To: 23600@debbugs.gnu.org
Subject: bug#23600: 25.1.50; encode-time returns wrong result
Date: Mon, 23 May 2016 07:10:54 +0900 [thread overview]
Message-ID: <86oa7xaglt.wl--xmue@d1.dion.ne.jp> (raw)
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
next reply other threads:[~2016-05-22 22:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-22 22:10 Kazuhiro Ito [this message]
2016-06-01 8:19 ` bug#23600: 25.1.50; encode-time returns wrong result 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86oa7xaglt.wl--xmue@d1.dion.ne.jp \
--to=kzhr@d1.dion.ne.jp \
--cc=23600@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.