Subject: bug#23600: 25.1.50; encode-time returns wrong result

From: Paul Eggert <[email-masked]>
Date: Mon, 13 Jun 2016 14:54:56 -0700

On 06/12/2016 03:45 AM, Kazuhiro Ito wrote:
> I noticed that calling format-time-string (or encode-time) with
> time-zone string fixes the problem.  But I can't see why.

I think I see the problem, at least on GNU/Linux: localtime_r needs 
someone else to call tzset. I installed the attached patch into the 
master branch, to do that.