Improve date internals (#4593)
- Optimize year from time calculation - Force arithmetic operations to int32_t/int64_t whenever possible - Optimize number conversion in date parse - Cache local TZA of the date object - Fix a bug in Date.parse timezone parsing JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
This commit is contained in:
1 parent
67e7e89c8e
commit
488a0bf7e8
10 files changed
+810
-785
No files matched your search
@@ -61,6 +61,7 @@ var wrongFormats = ["",
|
||||
"+0002015-01-01",
|
||||
"-0002015-01-01",
|
||||
"2015-01T00:00:00.000-03X00",
|
||||
"2015-01T00:00:00.000-02-02",
|
||||
"2015-01-01T00-03:00",
|
||||
"Fri Jan 01 1 00:00:00 GMT+0000",
|
||||
"Fri Jan 01 11 00:00:00 GMT+0000",
|
||||
|
||||
Reference in new issue
Block a user