time_support.cpp: dateFromISOString rejects leap seconds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • ALL
    • SP Prioritized List
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This parser enforces ranges on each time field.

      The range for seconds is incorrectly specified as [0,59].

      When a positive a leap second occurs, one minute will have a 61st second.
      The seconds field will have a value of 60, and dateFromISOString will fail to parse it.

            Assignee:
            Unassigned
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: