[Bug 1211] New: Midnight (24:00:00)

           Summary: Midnight (24:00:00)
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


Section 10.4 needs to discuss how midnight (24:00:00) is handled.

I believe the correct treatment is that when filling in values from the
reference date time, the value 24:00:00 is considered to be the same as 00:00:00
on the following day. Thus if the reference date is 1972-12-31, the time
24:00:00 expands to 1973-01-01T00:00:00, with the consequence that 24:00:00 and
00:00:00 are not equal. But the dateTimes 2005-04-04T24:00:00 and
2005:04-05:00:00:00 *are* equal.

Michael Kay

Received on Tuesday, 5 April 2005 19:13:53 UTC