• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • core-libs
    • None

      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

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: