Documentation error in os.date
EmmaKnijn opened this issue ยท 0 comments
Minecraft Version
1.20.1
Version
1.112.0
Details
The documentation in os.date states that This table can be converted to a UNIX timestamp (days since 1 January 1970) with date.
while after a bit of searching online reveals that you shove the table produced by os.date into os.time like this: os.time(os.date("!*t")) which gives a unix timestamp in seconds.
This doesn't seem clearly documented