-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Documentation states that gmtime is As in the C standard library, but it is actually different in at least one aspect: in c it is int tm_wday; /* day of the week, range 0 - sunday to 6 - saturday */, in luatz it is within 1 - sunday to 7 - saturday, it is clearly doing +1 in the code.
I think it is a good idea to mention the difference in the documentation, as fixing it will introduce a breaking change.
Metadata
Metadata
Assignees
Labels
No labels