lua-users home
lua-l archive

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


> But actually, in its C counterpart, `struct tm`, `tm_isdst` it is a
> tribool.
> 
> But maybe it is not too late to change this in 5.2?

It's already like that: isdst is not set if tm_isdst is negative.
So tribool means true, false, and nil. :-)