Subject: bug#23600: closed (Re: 25.1.50; encode-time returns wrong result)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 14 Jun 2016 14:41:02 +0000

Your bug report

#23600: 25.1.50; encode-time returns wrong result

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
23600: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23600
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: 25.1.50; encode-time returns wrong result
From: Paul Eggert <[email-masked]>
To: Kazuhiro Ito <[email-masked]>
Cc: [email-masked]
Date: Tue, 14 Jun 2016 07:40:10 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks for checking; closing the bug.

Subject: 25.1.50; encode-time returns wrong result
From: Kazuhiro Ito <[email-masked]>
To: [email-masked]
Date: Mon, 23 May 2016 07:10:54 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

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