bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tzset: add native Windows workaround


From: Bruno Haible
Subject: Re: tzset: add native Windows workaround
Date: Tue, 09 May 2017 21:40:16 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-75-generic; KDE/5.18.0; x86_64; ; )

Ken Brown wrote:
> ... Here's what I see on my Cygwin system:
> 
> $ echo $TZ
> America/New_York
> 
> $ date +'%Y-%m-%d %H:%M:%S %z (%Z)'
> 2017-05-03 07:29:03 -0400 (EDT)
> 
> $ TZ= date +'%Y-%m-%d %H:%M:%S %z (%Z)'
> 2017-05-03 11:29:14 +0000 (GMT)
> 
> $ unset TZ
> 
> $ date +'%Y-%m-%d %H:%M:%S %z (%Z)'
> 2017-05-03 07:29:30 -0400 (EDT)

Thanks for correcting me. I had (incorrectly) assumed that an unset value
and an empty value are equivalent, like for LANG.

I've now brought up the issue on the Cygwin mailing list:
  <https://cygwin.com/ml/cygwin/2017-05/msg00122.html>
Let's see...

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]