[html5] r3404 - [] (0) Correct a logic error in the algorithm for parsing a vague date or time.

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 13 22:24:03 PDT 2009


Author: ianh
Date: 2009-07-13 22:24:00 -0700 (Mon, 13 Jul 2009)
New Revision: 3404

Modified:
   index
   source
Log:
[] (0) Correct a logic error in the algorithm for parsing a vague date or time.

Modified: index
===================================================================
--- index	2009-07-14 04:59:57 UTC (rev 3403)
+++ index	2009-07-14 05:24:00 UTC (rev 3404)
@@ -3963,8 +3963,7 @@
 
    <li><p>If both the <var title="">date present</var> and <var title="">time present</var> flags are false, then fail.</li>
 
-   <li><p>If the <var title="">time present</var> flag is true, but
-   <var title="">position</var> is beyond the end of <var title="">input</var>, then fail.</li>
+   <li><p>If the <var title="">date present</var> and <var title="">time present</var> flags are both true, but <var title="">position</var> is beyond the end of <var title="">input</var>, then fail.</li>
 
    <li><p>If the <var title="">date present</var> and <var title="">time present</var> flags are both true, <a href=#parse-a-time-zone-component>parse a
    time-zone component</a> to obtain <var title="">timezone<sub title="">hours</sub></var> and <var title="">timezone<sub title="">minutes</sub></var>. If this returns nothing, then

Modified: source
===================================================================
--- source	2009-07-14 04:59:57 UTC (rev 3403)
+++ source	2009-07-14 05:24:00 UTC (rev 3404)
@@ -3458,8 +3458,9 @@
    <li><p>If both the <var title="">date present</var> and <var
    title="">time present</var> flags are false, then fail.</p></li>
 
-   <li><p>If the <var title="">time present</var> flag is true, but
-   <var title="">position</var> is beyond the end of <var
+   <li><p>If the <var title="">date present</var> and <var
+   title="">time present</var> flags are both true, but <var
+   title="">position</var> is beyond the end of <var
    title="">input</var>, then fail.</p></li>
 
    <li><p>If the <var title="">date present</var> and <var




More information about the Commit-Watchers mailing list