lua-users home
lua-l archive

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


On 3/13/07, Peter Odding <xolox@home.nl> wrote:
All the Lua manual has to say about this is that the returned string is
"formatted according to the same rules as the C function strftime".
While I understand that Lua depends on the C runtime, maybe there exists
a minimal subset that can be mentioned in the manual? Otherwise we're
expecting every user to look up his/her platforms' CRT documentation...

The C standard provides this information.  MSVCRT most likely conforms
to the older C89/90 standard.

C90: http://ccs.ucsd.edu/c/time.html#strftime

C99: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf  7.23.3.5

    -Mark