delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.4 required=5.0 tests=AWL,BAYES_50 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4BF312C3.4070909@hones.org.uk> |
Date: | Tue, 18 May 2010 23:20:51 +0100 |
From: | Cliff Hones <cliff AT hones DOT org DOT uk> |
User-Agent: | Thunderbird 2.0.0.24 (Windows/20100228) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: timezone setting ? |
References: | <4BEF77E3 DOT 1020207 AT gmail DOT com> <2BF01EB27B56CC478AD6E5A0A28931F2F0229E AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> |
In-Reply-To: | <2BF01EB27B56CC478AD6E5A0A28931F2F0229E@A1DAL1SWPES19MB.ams.acs-inc.net> |
X-Spam-Score: | -0.0 (/) (dominator.watchfront.net.uk) |
X-Spam-Report: | dominator.watchfront.net.uk has scanned this email for spam. Results:- TO_NO_BRKTS_DIRECT=0.001, T_RP_MATCHES_RCVD=-0.01 (total -0.0, current threshold 4.0) |
X-IsSubscribed: | yes |
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 |
Nellis, Kenneth wrote: > You can set the time zone by setting environment variable > TZ to a file path relative to /usr/share/zoneinfo, e.g., > > export TZ=America/New_York > > I'm less clear on how it determines the time zone > when TZ is not set. My guess is that TZ=posixrules > is the default. Corrections are encouraged. Well, around 5 years ago I looked into this, as I found that the default timzone names used on UK installations were wrong. Here's what I posted back then: http://cygwin.com/ml/cygwin/2005-08/msg00126.html Since then the zoneinfo implementation has been added, but it appears that if you don't explicitly set TZ the default is still taken from your Windows timezone setting, so I still get GMTST and GMTDT, which are somewhat unconventional and confusing for UK users. Needless to say, a UK Linux installation correctly defaults to GMT and BST. I suppose setup.exe could be trained to convert the windows timezone into a sensible global TZ setting - or possibly it could just present the timezone list for a manual choice, as most attended Linux installs do. -- Cliff -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |