[html5] r5341 - [acgiowt] (2) Allow times to be omitted from <ins datetime>/<del datetime>.

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 24 15:59:51 PDT 2010


Author: ianh
Date: 2010-08-24 15:59:50 -0700 (Tue, 24 Aug 2010)
New Revision: 5341

Modified:
   complete.html
   index
   source
Log:
[acgiowt] (2) Allow times to be omitted from <ins datetime>/<del datetime>.

Modified: complete.html
===================================================================
--- complete.html	2010-08-24 22:44:13 UTC (rev 5340)
+++ complete.html	2010-08-24 22:59:50 UTC (rev 5341)
@@ -19838,19 +19838,22 @@
   attribute may be used to specify the time and date of the change.</p>
 
   <p>If present, the <code title=attr-mod-datetime><a href=#attr-mod-datetime>datetime</a></code>
-  attribute must be a <a href=#valid-global-date-and-time-string>valid global date and time string</a>
-  value.</p>
+  attribute's value must be a <a href=#valid-date-string-with-optional-time>valid date string with optional
+  time</a>.</p>
 
   <div class=impl>
 
   <p>User agents must parse the <code title=attr-mod-datetime><a href=#attr-mod-datetime>datetime</a></code> attribute according to the
-  <a href=#parse-a-global-date-and-time-string>parse a global date and time string</a> algorithm. If that
-  doesn't return a time, then the modification has no associated
-  timestamp (the value is non-conforming; it is not a <a href=#valid-global-date-and-time-string>valid
-  global date and time string</a>). Otherwise, the modification is
-  marked as having been made at the given datetime. User agents should
-  use the associated time-zone offset information to determine which
-  time zone to present the given datetime in.</p>
+  <a href=#parse-a-date-or-time-string>parse a date or time string</a> algorithm. If that doesn't
+  return a <a href=#concept-date title=concept-date>date</a> or a <a href=#concept-datetime title=concept-datetime>global date and time</a>, then the
+  modification has no associated timestamp (the value is
+  non-conforming; it is not a <a href=#valid-date-string-with-optional-time>valid date string with optional
+  time</a>). Otherwise, the modification is marked as having been
+  made at the given <a href=#concept-date title=concept-date>date</a> or <a href=#concept-datetime title=concept-datetime>global date and time</a>. If the given
+  value is a <a href=#concept-datetime title=concept-datetime>global date and
+  time</a> then user agents should use the associated time-zone
+  offset information to determine which time zone to present the given
+  datetime in.</p>
 
   </div>
 
@@ -57376,6 +57379,14 @@
       <p class=note>This value is used below; it is calculated here
       because in certain cases the next step mutates the <var title="">cloned article</var>.</p>
 
+      <p class=note>Any <code><a href=#the-ins-element>ins</a></code> or <code><a href=#the-del-element>del</a></code>
+      elements whose <code title=attr-mod-datetime><a href=#attr-mod-datetime>datetime</a></code>
+      attributes have values that are just <a href=#valid-date-string title="valid date
+      string">valid date strings</a> (i.e. that have no time
+      component) are ignored for the purposes of finding the update
+      time of an entry.</p> <!-- because atom needs a time, as far as
+      I can tell -->
+
      </li>
 
      <li>
@@ -93425,8 +93436,8 @@
     <tr><th> <code title="">datetime</code>
      <td> <code title=attr-mod-datetime><a href=#attr-mod-datetime>del</a></code>;
           <code title=attr-mod-datetime><a href=#attr-mod-datetime>ins</a></code>
-     <td> Time and date of the change
-     <td> <a href=#valid-global-date-and-time-string>Valid global date and time string</a>
+     <td> Date and (optionally) time of the change
+     <td> <a href=#valid-date-string-with-optional-time>Valid date string with optional time</a>
     <tr><th> <code title="">datetime</code>
      <td> <code title=attr-time-datetime><a href=#attr-time-datetime>time</a></code>
      <td> Value of the element

Modified: index
===================================================================
--- index	2010-08-24 22:44:13 UTC (rev 5340)
+++ index	2010-08-24 22:59:50 UTC (rev 5341)
@@ -19760,19 +19760,22 @@
   attribute may be used to specify the time and date of the change.</p>
 
   <p>If present, the <code title=attr-mod-datetime><a href=#attr-mod-datetime>datetime</a></code>
-  attribute must be a <a href=#valid-global-date-and-time-string>valid global date and time string</a>
-  value.</p>
+  attribute's value must be a <a href=#valid-date-string-with-optional-time>valid date string with optional
+  time</a>.</p>
 
   <div class=impl>
 
   <p>User agents must parse the <code title=attr-mod-datetime><a href=#attr-mod-datetime>datetime</a></code> attribute according to the
-  <a href=#parse-a-global-date-and-time-string>parse a global date and time string</a> algorithm. If that
-  doesn't return a time, then the modification has no associated
-  timestamp (the value is non-conforming; it is not a <a href=#valid-global-date-and-time-string>valid
-  global date and time string</a>). Otherwise, the modification is
-  marked as having been made at the given datetime. User agents should
-  use the associated time-zone offset information to determine which
-  time zone to present the given datetime in.</p>
+  <a href=#parse-a-date-or-time-string>parse a date or time string</a> algorithm. If that doesn't
+  return a <a href=#concept-date title=concept-date>date</a> or a <a href=#concept-datetime title=concept-datetime>global date and time</a>, then the
+  modification has no associated timestamp (the value is
+  non-conforming; it is not a <a href=#valid-date-string-with-optional-time>valid date string with optional
+  time</a>). Otherwise, the modification is marked as having been
+  made at the given <a href=#concept-date title=concept-date>date</a> or <a href=#concept-datetime title=concept-datetime>global date and time</a>. If the given
+  value is a <a href=#concept-datetime title=concept-datetime>global date and
+  time</a> then user agents should use the associated time-zone
+  offset information to determine which time zone to present the given
+  datetime in.</p>
 
   </div>
 
@@ -57301,6 +57304,14 @@
       <p class=note>This value is used below; it is calculated here
       because in certain cases the next step mutates the <var title="">cloned article</var>.</p>
 
+      <p class=note>Any <code><a href=#the-ins-element>ins</a></code> or <code><a href=#the-del-element>del</a></code>
+      elements whose <code title=attr-mod-datetime><a href=#attr-mod-datetime>datetime</a></code>
+      attributes have values that are just <a href=#valid-date-string title="valid date
+      string">valid date strings</a> (i.e. that have no time
+      component) are ignored for the purposes of finding the update
+      time of an entry.</p> <!-- because atom needs a time, as far as
+      I can tell -->
+
      </li>
 
      <li>
@@ -86515,8 +86526,8 @@
     <tr><th> <code title="">datetime</code>
      <td> <code title=attr-mod-datetime><a href=#attr-mod-datetime>del</a></code>;
           <code title=attr-mod-datetime><a href=#attr-mod-datetime>ins</a></code>
-     <td> Time and date of the change
-     <td> <a href=#valid-global-date-and-time-string>Valid global date and time string</a>
+     <td> Date and (optionally) time of the change
+     <td> <a href=#valid-date-string-with-optional-time>Valid date string with optional time</a>
     <tr><th> <code title="">datetime</code>
      <td> <code title=attr-time-datetime><a href=#attr-time-datetime>time</a></code>
      <td> Value of the element

Modified: source
===================================================================
--- source	2010-08-24 22:44:13 UTC (rev 5340)
+++ source	2010-08-24 22:59:50 UTC (rev 5341)
@@ -21079,20 +21079,25 @@
   attribute may be used to specify the time and date of the change.</p>
 
   <p>If present, the <code title="attr-mod-datetime">datetime</code>
-  attribute must be a <span>valid global date and time string</span>
-  value.</p>
+  attribute's value must be a <span>valid date string with optional
+  time</span>.</p>
 
   <div class="impl">
 
   <p>User agents must parse the <code
   title="attr-mod-datetime">datetime</code> attribute according to the
-  <span>parse a global date and time string</span> algorithm. If that
-  doesn't return a time, then the modification has no associated
-  timestamp (the value is non-conforming; it is not a <span>valid
-  global date and time string</span>). Otherwise, the modification is
-  marked as having been made at the given datetime. User agents should
-  use the associated time-zone offset information to determine which
-  time zone to present the given datetime in.</p>
+  <span>parse a date or time string</span> algorithm. If that doesn't
+  return a <span title="concept-date">date</span> or a <span
+  title="concept-datetime">global date and time</span>, then the
+  modification has no associated timestamp (the value is
+  non-conforming; it is not a <span>valid date string with optional
+  time</span>). Otherwise, the modification is marked as having been
+  made at the given <span title="concept-date">date</span> or <span
+  title="concept-datetime">global date and time</span>. If the given
+  value is a <span title="concept-datetime">global date and
+  time</span> then user agents should use the associated time-zone
+  offset information to determine which time zone to present the given
+  datetime in.</p>
 
   </div>
 
@@ -64724,6 +64729,14 @@
       because in certain cases the next step mutates the <var
       title="">cloned article</var>.</p>
 
+      <p class="note">Any <code>ins</code> or <code>del</code>
+      elements whose <code title="attr-mod-datetime">datetime</code>
+      attributes have values that are just <span title="valid date
+      string">valid date strings</span> (i.e. that have no time
+      component) are ignored for the purposes of finding the update
+      time of an entry.</p> <!-- because atom needs a time, as far as
+      I can tell -->
+
      </li>
 
      <li>
@@ -106803,8 +106816,8 @@
      <th> <code title="">datetime</code>
      <td> <code title="attr-mod-datetime">del</code>;
           <code title="attr-mod-datetime">ins</code>
-     <td> Time and date of the change
-     <td> <span>Valid global date and time string</span>
+     <td> Date and (optionally) time of the change
+     <td> <span>Valid date string with optional time</span>
     <tr>
      <th> <code title="">datetime</code>
      <td> <code title="attr-time-datetime">time</code>




More information about the Commit-Watchers mailing list