73place
WatchMaker Feature Requests All the ideas and discussions
15 votes Vote

lua date function

lua spec has os.date if this was supported we could do os.date("%a", os.time-(24*60*60)) to return the string Wed (which is yesterday when today is Thursday).

artesea, 08.01.2015, 15:18
Idea status: under consideration

Comments

RobbH, 06.06.2015, 18:09
This would also give access to current UTC, something that is often requested.
Paul, 10.03.2016, 07:26
In addition, it would give access to the ISO week number via os.date("%V"). The week number currently available is not useful for anyone outside the US.

Leave a comment