From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62265 invoked by alias); 1 May 2017 15:25:07 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 62242 invoked by uid 89); 1 May 2017 15:25:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=penny, Penny, cyg, Hx-languages-length:861 X-HELO: mail-io0-f177.google.com Received: from mail-io0-f177.google.com (HELO mail-io0-f177.google.com) (209.85.223.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 May 2017 15:25:04 +0000 Received: by mail-io0-f177.google.com with SMTP id p80so121674997iop.3 for ; Mon, 01 May 2017 08:25:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ixyRbT27q7nn52ecf4zIiQLRs3+fmzE+ocHUnUUk50E=; b=PEZnobIckutgZsD5pYNx0OL/wKnp5FAYf/ySxPZy+r0SJnuPgbL2EhIl66rgc8NnRZ l/vMCeoiGGL0c3HLK7u2cuAwqfk5u8qFzBhr1m7yYFgPuaBuquHekQ+jyS2+8S1P5ll+ Bj89jHWdib5ArWSTCRi2admHwmUbNJDp5JNBpyr6F8PE31jXdEedJ2mUehdlBtP+KHbI cb22pHmC4WHg6PxAmfRPxq6MShD/dhW2DVocFzi1DYrnO8qxP0gUpQeuNeAw9ZAxBfOb 6/zw6SrN/9NM6dW9CetDkXTSJZPhezQkvryCqDvHH3zpsjkfzVFN7tQXKCy+5PVczZFj UhZA== X-Gm-Message-State: AN3rC/5hGKmUD24oU/U2D9/HEeZ2T+98azWhG4TzjwbjaAwULGe3EJ+t v/Qsilg75P45ykrs X-Received: by 10.107.17.196 with SMTP id 65mr22221638ior.31.1493652303834; Mon, 01 May 2017 08:25:03 -0700 (PDT) Received: from [192.168.0.6] (d4-50-42-50.try.wideopenwest.com. [50.4.50.42]) by smtp.gmail.com with ESMTPSA id z26sm3894242ita.8.2017.05.01.08.25.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 May 2017 08:25:03 -0700 (PDT) Subject: Re: Time zone bug To: cygwin@cygwin.com References: <31d25ae6-b4f1-54cf-5582-810eeedcd8d3@cornell.edu> <590670ec.5b119d0a.2fbc1.6460@mx.google.com> From: cyg Simple Message-ID: Date: Mon, 01 May 2017 15:25:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <590670ec.5b119d0a.2fbc1.6460@mx.google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00004.txt.bz2 On 4/30/2017 7:19 PM, Steven Penny wrote: > On Sun, 30 Apr 2017 17:37:00, Ken Brown wrote: >> 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@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). > > I concur, here is non-esoteric example Linux: > > $ TZ=Pacific/Auckland date +%Z > NZST > > $ TZ=NZST date +%Z > NZST > > $ TZ=NZDT date +%Z > NZDT > > Cygwin: > > $ TZ=Pacific/Auckland date +%Z > NZST > > $ TZ=NZST date +%Z > GMT > > $ TZ=NZDT date +%Z > GMT The TZ value doesn't matter. $ TZ=America/New_York date +%Z EDT $ TZ=EDT date +%Z GMT -- cyg Simple -- 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