lua-users home
lua-l archive

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


Someone recently made a correction to our copy of the Lua manual for
Scribunto,[1] changing the range of values for 'sec' from 0-61 to
0-59. Which is incorrect, considering that leap seconds do exist, but
that only gives a range of 0-60. How would os.date return a value of
61 for the seconds? Or is that an error in the Lua manual?

 [1]: https://www.mediawiki.org/w/index.php?title=Extension:Scribunto/Lua_reference_manual&diff=688113&oldid=685956