delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/04/30/17:37:19

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=JVq
dQhd/W0E+VjIYbfoYaDdxrMFIPi4mvI4eyuWTTve67+vO+d3aNvKUvgWGc07YgtM
e4GIYyRy2lyePkxtQegTx4/D8FiAdOFAAm8H7RQ2mkljOyZXIGI6b/dMKIlgeIr7
EXdJNSceJ3C8Yu0svF9pzU49dGIvDEMwa+PDXbCQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=HFJUre5Kr
bpSrgERbYmBx/s/LDA=; b=wSkVQvGegzKmFFXZDTyvPK/9XBx+d/793gH8cQkZj
mNF4tsP2f5JGIwlzIcwtf2mUPNTEpNyrPQ9s95u+FvfVnEMDnlPkwGpn659TakI7
Jf3g4sLEoOZpAIToFHs2uP9iFYVrXtfj20qr86jPOTnTq8E4tVTaa1CGxp7hitbx
iw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:ip*192.168.1.6, 1300, H*Ad:U*kbrown, H*r:8.12.10
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
To: cygwin <cygwin AT cygwin DOT com>
From: Ken Brown <kbrown AT cornell DOT edu>
Subject: Time zone bug
Message-ID: <31d25ae6-b4f1-54cf-5582-810eeedcd8d3@cornell.edu>
Date: Sun, 30 Apr 2017 17:37:00 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

As a result of a failing emacs test, I came across the following:

$ TZ='NZST-12NZDT,M9.5.0,M4.1.0/3' date -d AT 0 +'%Y-%m-%d %H:%M:%S %z (%Z)'
1970-01-01 12:00:00 +1200 (NZST)

The same command on Linux yields "1970-01-01 13:00:00 +1300 (NZDT)", which is correct according to Paul Eggert (https://lists.gnu.org/archive/html/emacs-devel/2017-04/msg00881.html).

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019