Share

Lua-5.1-CE

Tracker: Bugs

5 Debug info in os.date() - ID: 2797224
Last Update: Tracker Item Submitted ( nobody )

The are several problems with os_date().

* It calls strftme() which prepends the date string with debug info
("teste:")
* strftime() uses a fixed format and does not used the format specifier
sent to it
* os_date("*t") variant adds offsets not needed (for example the year field
gets to be 3909 (2009+1900)

/rob


Nobody/Anonymous ( nobody ) - 2009-05-27 07:33

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.