W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2005

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 05 Apr 2005 10:15:18 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DIl5a-0004Vj-9O@wiggum.w3.org>

           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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:23 UTC