[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 05:55:42 +0400
On Wed, Apr 6, 2011 at 05:42, Alexander Gladysh <agladysh@gmail.com> wrote:
> On Wed, Apr 6, 2011 at 05:31, Alexander Gladysh <agladysh@gmail.com> wrote:
> I'm not sure, but it looks to me that, in order to ensure correct
> behavior of gmtime(), os.date() must set tm_isdst to -1 unless user
> explicitly specified a value. (And not doing so is probably a bug
> worth fixing in 5.1.5.) Maybe someone would shed a light on this?
Oops. Sorry, not `gmtime()`, but, of course, `mktime()`.
Alexander.