Update compatibility.md

Add a note about os.time
This commit is contained in:
Arseny Kapoulkine 2021-04-26 14:13:20 -07:00 committed by GitHub
parent 258966863c
commit 93fb768a64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -127,3 +127,4 @@ We have a few behavior deviations from Lua 5.x that come from either a different
* Tail calls are not supported to simplify implementation, make debugging/stack traces more predictable and allow deep validation of caller identity for security
* Order of table assignment in table literals follows program order in mixed tables (Lua 5.x assigns array elements first in some cases)
* Equality comparisons call `__eq` metamethod even when objects are rawequal (which matches other metamethods like `<=` and facilitates NaN checking)
* `os.time` returns UTC timestamp when called with a table for consistency