[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: os.time() vs. isdst
- From: Alexander Gladysh <agladysh@...>
- Date: Wed, 6 Apr 2011 23:48:11 +0400
On Wed, Apr 6, 2011 at 19:31, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> On Wed, Apr 6, 2011 at 17:39, Roberto Ierusalimschy
>> <roberto@inf.puc-rio.br> wrote:
>> >> But maybe you can clarify os.date() definition in manual? It is not
>> >> obvious that this feature is supported. (Not sure about the wording
>> >> though.)
>> > ...
>> > and 'isdst' (daylight saving flag, a boolean).
>> > +This last field may be absent if the system
>> > +does not have this information.
>> Not sure about the mention of "system" — in os.time() it is user who
>> does not have the information.
> We may just copy six words from the ISO standard:
> +This last field may be absent
> +if the information is not available.
Sounds good to me.
Alexander.