emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 085c7f6 2/2: Test format-time-string with zone


From: Ken Brown
Subject: Re: [Emacs-diffs] master 085c7f6 2/2: Test format-time-string with zone arg
Date: Sun, 30 Apr 2017 16:41:30 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 4/27/2017 6:24 PM, Paul Eggert wrote:
branch: master
commit 085c7f608657d2aa19a6b2b0fe29d3deaa8eb6ff
+  (should (string-equal
+           (format-time-string "%Y-%m-%d %H:%M:%S %z (%Z)" '(0 0 0 0)
+                               "NZST-12NZDT,M9.5.0,M4.1.0/3")
+           "1970-01-01 13:00:00 +1300 (NZDT)")))

This test fails on Cygwin.

(format-time-string "%Y-%m-%d %H:%M:%S %z (%Z)" '(0 0 0 0)
                    "NZST-12NZDT,M9.5.0,M4.1.0/3")

evaluates to "1970-01-01 12:00:00 +1200 (NZST)". Can you give me some guidance as to how to track this down? I know nothing about how time zones work.

Ken



reply via email to

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