mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fixes #3973. TimeWithinDay(t) = t modulo msPerDay, where msPerDay = 86400000. The sign of the modulo operation result should be same as the right side per definition, conseqently TimeWithinDay(t) >= 0. References: - https://www.ecma-international.org/ecma-262/11.0/#sec-mathematical-operations - https://www.ecma-international.org/ecma-262/11.0/#sec-overview-of-date-objects-and-definitions-of-abstract-operations JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu