bug-gawk
[Top][All Lists]
Advanced

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

Re: use of TZ by mktime()/strftime()


From: Eli Zaretskii
Subject: Re: use of TZ by mktime()/strftime()
Date: Wed, 10 Aug 2022 18:56:45 +0300

> From: arnold@skeeve.com
> Date: Wed, 10 Aug 2022 08:50:07 -0600
> 
> Ed Morton <mortoneccc@comcast.net> wrote:
> 
> > So in the above setting TZ to EST or UTC worked and specifying IST at 
> > the end of the timestamp worked, but setting TZ to IST failed just like 
> > it does in gawk. Clearly I'm missing something...
> 
> All of this depends on the underlying C library.  As far as I know
> there aren't standardized time zone names that work the same
> everywhere.

Actually, there are, at least in most practical cases.  But they are
very few, and you cannot rely on their DST rules to be up to date with
the current practices; they might on some systems still reflect the
DST rules of many years ago, or even work according to the rules of
another country.



reply via email to

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