Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (0) Correct a logic error in the algorithm for parsing a vague dat…
…e or time.

git-svn-id: http://svn.whatwg.org/webapps@3404 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 14, 2009
1 parent 1174692 commit a136c05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions index
Expand Up @@ -3963,8 +3963,7 @@ a.<a href=#dom-uda-protocol title=dom-uda-protocol>protocol</a> = 'https'; // ch

<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
Expand Down
5 changes: 3 additions & 2 deletions source
Expand Up @@ -3458,8 +3458,9 @@ a.<span title="dom-uda-protocol">protocol</span> = 'https'; // change just the s
<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
Expand Down

0 comments on commit a136c05

Please sign in to comment.