lua-users home
lua-l archive

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


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?

Sounds right to me.

The standard C time library is pretty crappy.

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.