Fix runtime error Date object (#4914)

This patch fixes #4704

JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz daniel.batiz@h-lab.eu
This commit is contained in:
batizdaniel
2024-11-06 16:15:37 +01:00
committed by GitHub
parent 4a39946ef6
commit 5f3428becb
5 changed files with 57 additions and 5 deletions
@@ -157,6 +157,8 @@ bool ecma_builtin_is_regexp_exec (ecma_extended_object_t *obj_p);
#define ECMA_DATE_DAYS_IN_LEAP_YEAR (366)
#define ECMA_DATE_YEAR_LIMIT (275800)
/**
* This gives a range of 8,640,000,000,000,000 milliseconds
* to either side of 01 January, 1970 UTC.