aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/loslib.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/loslib.js b/src/loslib.js
index 89b5399..854719a 100644
--- a/src/loslib.js
+++ b/src/loslib.js
@@ -131,9 +131,6 @@ const os_date = function(L) {
utc = true;
i++; /* skip '!' */
}
-
- if (stm === null) /* invalid date? */
- luaL_error(L, to_luastring("time result cannot be represented in this installation"));
if (s[i] === "*".charCodeAt(0) && s[i+1] === "t".charCodeAt(0)) {
lua_createtable(L, 0, 9); /* 9 = number of fields */
setallfields(L, stm, utc);