[html5] r7435 - [acgiow] (0) Make the year-only format for <time> more in line with how it works [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Oct 5 15:50:24 PDT 2012


Author: ianh
Date: 2012-10-05 15:50:23 -0700 (Fri, 05 Oct 2012)
New Revision: 7435

Modified:
   complete.html
   index
   source
Log:
[acgiow] (0) Make the year-only format for <time> more in line with how it works elsewhere.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17926
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-10-05 22:47:53 UTC (rev 7434)
+++ complete.html	2012-10-05 22:50:23 UTC (rev 7435)
@@ -22275,12 +22275,14 @@
    </dd>
 
 
-   <dt>A <a href=#valid-non-negative-integer>valid non-negative integer</a> representing a year</dt>
+   <dt>Four or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, at least one of which is not U+0030 DIGIT ZERO (0)</dt>
 
    <dd>
 
     <pre class=example><time>2011</time></pre>
 
+    <pre class=example><time>0001</time></pre>
+
    </dd>
 
 
@@ -22343,7 +22345,8 @@
 
    <li><p>If the element's <a href=#datetime-value>datetime value</a> consists of
    only characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
-   NINE (9), then the machine-readable equivalent is the base-ten
+   NINE (9), at least one of which is not U+0030 DIGIT ZERO (0),
+   then the machine-readable equivalent is the base-ten
    interpretation of those digits, representing a year; abort these
    steps.</li>
 

Modified: index
===================================================================
--- index	2012-10-05 22:47:53 UTC (rev 7434)
+++ index	2012-10-05 22:50:23 UTC (rev 7435)
@@ -22275,12 +22275,14 @@
    </dd>
 
 
-   <dt>A <a href=#valid-non-negative-integer>valid non-negative integer</a> representing a year</dt>
+   <dt>Four or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, at least one of which is not U+0030 DIGIT ZERO (0)</dt>
 
    <dd>
 
     <pre class=example><time>2011</time></pre>
 
+    <pre class=example><time>0001</time></pre>
+
    </dd>
 
 
@@ -22343,7 +22345,8 @@
 
    <li><p>If the element's <a href=#datetime-value>datetime value</a> consists of
    only characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
-   NINE (9), then the machine-readable equivalent is the base-ten
+   NINE (9), at least one of which is not U+0030 DIGIT ZERO (0),
+   then the machine-readable equivalent is the base-ten
    interpretation of those digits, representing a year; abort these
    steps.</li>
 

Modified: source
===================================================================
--- source	2012-10-05 22:47:53 UTC (rev 7434)
+++ source	2012-10-05 22:50:23 UTC (rev 7435)
@@ -23892,12 +23892,14 @@
    </dd>
 
 
-   <dt>A <span>valid non-negative integer</span> representing a year</dt>
+   <dt>Four or more <span title="concept-datetime-digit">digits</span>, at least one of which is not U+0030 DIGIT ZERO (0)</dt>
 
    <dd>
 
     <pre class="example"><time>2011</time></pre>
 
+    <pre class="example"><time>0001</time></pre>
+
    </dd>
 
 
@@ -23967,7 +23969,8 @@
 
    <li><p>If the element's <span>datetime value</span> consists of
    only characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT
-   NINE (9), then the machine-readable equivalent is the base-ten
+   NINE (9), at least one of which is not U+0030 DIGIT ZERO (0),
+   then the machine-readable equivalent is the base-ten
    interpretation of those digits, representing a year; abort these
    steps.</p></li>
 




More information about the Commit-Watchers mailing list