delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 27 Apr 2012 18:19:28 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: The "date" command is giving wrong results. |
Message-ID: | <20120427161928.GB8309@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <2029203718 DOT 249620 DOT 1335539762335 DOT JavaMail DOT gess AT webmail-02 DOT datacenter DOT cha DOT cantv DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <2029203718.249620.1335539762335.JavaMail.gess@webmail-02.datacenter.cha.cantv.net> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Apr 27 10:46, rodmedina AT cantv DOT net wrote: > On 26 Apr 2012 10:03:20 Corinna Vinschen wrote: > > >What's your Windows timezone set to (the actual timezone text in the > >"Date and Time" control panel? And what is Cygwin's $TZ set to? > > In Windows my Time-zone is (GMT -04:30)Caracas > > In cygwin: > $ echo $TZ > Asia/Yakutsk > > >From where Cygwin gets such time-zone I can't imagine. Me neither. I tried to change the Windows timezone to Caracas as well, and the tzset tool correctly returned "America/Caracas", on XP as well as on W7. When yu open the "Regional and Language Options" control panel, what is the "Location field set to? > What is the proper solution?, to $TZ in the profile?. Usually it's automatically set via a call to the tzset tool in /etc/profile.d/tzset.sh or /etc/profile.d/tzset.csh. In your case, maybe you should just set TZ to the right value in your user profile. However, if you feel up to the task, you might consider to debug the tzset tool with GDB. It's not an overly complicated tool and it would be interesting to learn why it sets TZ to "Asia/Yakutsk". Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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 |