[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: os.time() vs. isdst
- From: Tony Finch <dot@...>
- Date: Wed, 6 Apr 2011 11:01:01 +0100
Alexander Gladysh <agladysh@gmail.com> wrote:
>
> But actually, in its C counterpart, `struct tm`, `tm_isdst` it is a
> tribool. Quoting `man gmtime` (did not check C89 standard sorry):
>
> `tm_isdst` A flag that indicates whether daylight saving time is in
> effect at the time described. The value is positive if daylight
> saving time is in effect, zero if it is not, and negative if the
> information is not available.
This is almost a direct quote from the standard.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
Fisher: Southwest, veering west later, 5 to 7, perhaps gale 8 later. Moderate
or rough. Occasional rain. Moderate or good, occasionally poor.