Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: