Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: