<?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>29769</bug_id>
          
          <creation_ts>2016-08-10 15:52:07 +0000</creation_ts>
          <short_desc>[Qt3TS] format-date-en122</short_desc>
          <delta_ts>2016-09-20 12:03:05 +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>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Tim Mills">tim</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>mike</cc>
          
          <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>127115</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-08-10 15:52:07 +0000</bug_when>
    <thetext>Under the rules for formatting the year component, 

&apos;[Y1o]&apos;

will cause the year to be formatted as two-digit only, because

component specifier = Y (year)
first presentation modifier = 1 (a decimal-digit-pattern)
second presentation modifier = o
width modifier = (absent)
N = 2 (the greater of 2 and 1).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127179</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-08-19 13:21:32 +0000</bug_when>
    <thetext>I have taken the liberty of fixing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127382</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-09-13 17:36:29 +0000</bug_when>
    <thetext>Under the resolution of spec bug 29765, the picture [Y1o] no longer causes truncation of the year value. I have therefore reverted the expected results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127395</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-09-14 15:43:04 +0000</bug_when>
    <thetext>This change to the testsuite doesn&apos;t appear to have been committed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127430</commentid>
    <comment_count>4</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2016-09-20 11:42:49 +0000</bug_when>
    <thetext>Closing this bug as it looks like the fix has been committed now to cvs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127431</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-09-20 11:55:26 +0000</bug_when>
    <thetext>It doesn&apos;t seem fixed to me.  I see:

&lt;test-case name=&quot;format-date-en122&quot;&gt;
      &lt;description&gt;English ordinal numbers 1990-2020&lt;/description&gt;
      &lt;created by=&quot;Michael Kay, Saxonica&quot; on=&quot;2011-07-01&quot;/&gt;
      &lt;modified by=&quot;Tim Mills&quot; on=&quot;2011-07-01&quot; change=&quot;Bug 29769&quot; /&gt;
      &lt;environment&gt;
         &lt;param name=&quot;d&quot; as=&quot;xs:date&quot; select=&quot;xs:date(&apos;1990-12-01&apos;)&quot;/&gt;
      &lt;/environment&gt;
      &lt;dependency type=&quot;language&quot; value=&quot;en&quot;/&gt;
      &lt;test&gt;for $i in 0 to 30 return let $d2 := $d + xs:yearMonthDuration(&apos;P1Y&apos;)*$i return
         format-date($d2, &apos;[Y1o]&apos;, &apos;en&apos;, (), ()) &lt;/test&gt;
      &lt;result&gt;
         &lt;assert-string-value normalize-space=&quot;true&quot;&gt;
            90th 91st 92nd 93rd 94th 95th 96th 97th 98th 99th
            0th 1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th
            12th 13th 14th 15th 16th 17th 18th 19th 20th
         &lt;/assert-string-value&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127432</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-09-20 12:01:52 +0000</bug_when>
    <thetext>I&apos;m puzzled. I see:

&lt;test-case name=&quot;format-date-en122&quot;&gt;
      &lt;description&gt;English ordinal numbers 1990-2020&lt;/description&gt;
      &lt;created by=&quot;Michael Kay, Saxonica&quot; on=&quot;2011-07-01&quot;/&gt;
      &lt;modified by=&quot;Tim Mills&quot; on=&quot;2016-08-19&quot; change=&quot;Bug 29769&quot; /&gt;
      &lt;modified by=&quot;Michael Kay&quot; on=&quot;2016-09-13&quot; change=&quot;Bug 29765&quot; /&gt;
      &lt;environment&gt;
         &lt;param name=&quot;d&quot; as=&quot;xs:date&quot; select=&quot;xs:date(&apos;1990-12-01&apos;)&quot;/&gt;
      &lt;/environment&gt;
      &lt;dependency type=&quot;language&quot; value=&quot;en&quot;/&gt;
      &lt;test&gt;for $i in 0 to 30 return let $d2 := $d + xs:yearMonthDuration(&apos;P1Y&apos;)*$i return
         format-date($d2, &apos;[Y1o]&apos;, &apos;en&apos;, (), ()) &lt;/test&gt;
      &lt;result&gt;
         &lt;assert-string-value normalize-space=&quot;true&quot;&gt;
            1990th 1991st 1992nd 1993rd 1994th 1995th 1996th 1997th 1998th 1999th
            2000th 2001st 2002nd 2003rd 2004th 2005th 2006th 2007th 2008th 2009th 2010th 2011th
            2012th 2013th 2014th 2015th 2016th 2017th 2018th 2019th 2020th
         &lt;/assert-string-value&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127433</commentid>
    <comment_count>7</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-09-20 12:02:54 +0000</bug_when>
    <thetext>Hmmm... my CVS client seems to be hung.

I&apos;ll presume it&apos;s fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>