bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul Eggert
Subject: bug#23600: 25.1.50; encode-time returns wrong result
Date: Mon, 13 Jun 2016 14:54:56 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

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.

Attachment: 0001-Call-tzset-after-setting-TZ.patch
Description: Source code patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]