|
From: | Paul Eggert |
Subject: | Re: [Emacs-diffs] master 085c7f6 2/2: Test format-time-string with zone arg |
Date: | Sun, 30 Apr 2017 13:49:53 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Ken Brown wrote:
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.
What does this shell command do? TZ='NZST-12NZDT,M9.5.0,M4.1.0/3' date address@hidden +'%Y-%m-%d %H:%M:%S %z (%Z)' On a working system with GNU 'date', it should output this: 1970-01-01 13:00:00 +1300 (NZDT)If it outputs "1970-01-01 12:00:00 +1200 (NZST)" on Cygwin, it's a bug in Cygwin not in Emacs per se. If so, perhaps we should just skip the test on Cygwin (you might file a Cygwin bug report). If not, I'll have some other questions to ask.
[Prev in Thread] | Current Thread | [Next in Thread] |