<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>29493</bug_id>
          
          <creation_ts>2016-02-21 13:57:00 +0000</creation_ts>
          <short_desc>[QT3] format-dateTime-011 invalid week start</short_desc>
          <delta_ts>2016-03-08 18:01:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>29515</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benito van der Zander">benito</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125189</commentid>
    <comment_count>0</comment_count>
    <who name="Benito van der Zander">benito</who>
    <bug_when>2016-02-21 13:57:00 +0000</bug_when>
    <thetext>format-dateTime-011 expects [2006-10-01T12:00:00: 5
This day is early in the month, so let&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125385</commentid>
    <comment_count>1</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2016-03-08 18:01:24 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 29515 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>