From 93fb768a64bc41fd6c7e08d689d3d85a390407bb Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Mon, 26 Apr 2021 14:13:20 -0700 Subject: [PATCH] Update compatibility.md Add a note about os.time --- docs/_pages/compatibility.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/_pages/compatibility.md b/docs/_pages/compatibility.md index 5f55722..4b698d4 100644 --- a/docs/_pages/compatibility.md +++ b/docs/_pages/compatibility.md @@ -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