This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29493 - [QT3] format-dateTime-011 invalid week start
Summary: [QT3] format-dateTime-011 invalid week start
Status: RESOLVED DUPLICATE of bug 29515
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-21 13:57 UTC by Benito van der Zander
Modified: 2016-03-08 18:01 UTC (History)
0 users

See Also:


Attachments

Description Benito van der Zander 2016-02-21 13:57:00 UTC
format-dateTime-011 expects [2006-10-01T12:00:00: 5
This day is early in the month, so let's look at the previous month:
September 2006: 
  First Thursday is 2006-09-07, so week 1 is Mo, 2006-09-04 till Su, 2006-09-10
  week 2 is Mo, 2006-09-11 till Su, 2006-09-17
  week 3 is Mo, 2006-09-18 till Su, 2006-09-24
  week 4 is Mo, 2006-09-25 till Su, 2006-09-31, but 2006-09-31 does not exists and Su is 2006-10-01 !

So it should be in week 4 not 5

Something similar seems to happen with [2007-07-01T12:00:00, 2008-03-01T12:00:00 and 2009-03-01T12:00:00
Comment 1 O'Neil Delpratt 2016-03-08 18:01:24 UTC

*** This bug has been marked as a duplicate of bug 29515 ***