[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.
- use of TZ by mktime()/strftime(), Ed Morton, 2022/08/09
- Re: use of TZ by mktime()/strftime(), Ed Morton, 2022/08/09
- Re: use of TZ by mktime()/strftime(), arnold, 2022/08/10
- Re: use of TZ by mktime()/strftime(),
Eli Zaretskii <=
- Re: use of TZ by mktime()/strftime(), Ed Morton, 2022/08/10
- Re: use of TZ by mktime()/strftime(), Neil R. Ormos, 2022/08/10
- Re: use of TZ by mktime()/strftime(), Ed Morton, 2022/08/10
- Re: use of TZ by mktime()/strftime(), Neil R. Ormos, 2022/08/10
- Re: use of TZ by mktime()/strftime(), Ed Morton, 2022/08/10
- Re: use of TZ by mktime()/strftime(), Neil R. Ormos, 2022/08/10
Re: use of TZ by mktime()/strftime(), Andrew J. Schorr, 2022/08/09