-
Sub-task
-
Resolution: Fixed
-
P4
-
None
-
None
-
b110
Based on ES5 5.2 Algorithm Conventions, date functions returning a number should not return -0 (which is currently the case with pre-1970 dates for some methods).
jjs> 1/(new Date(1969, 8, 1)).getHours()
(-Duser.timezone=America/Los_Angeles)
Expected: Infinity
Actual: -Infinity
jjs> 1/(new Date(1969, 8, 1)).getHours()
(-Duser.timezone=America/Los_Angeles)
Expected: Infinity
Actual: -Infinity