Skip to content

Commit

Permalink
[giowt] (0) Clarify what the best representation of a datetime is.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11694

git-svn-id: http://svn.whatwg.org/webapps@5848 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 8, 2011
1 parent 3b5c3bc commit bdeb95d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
11 changes: 6 additions & 5 deletions complete.html
Expand Up @@ -5140,11 +5140,12 @@ <h5 id=global-dates-and-times><span class=secno>2.5.5.5 </span>Global dates and

<p>The <dfn id=best-representation-of-the-global-date-and-time-string>best representation of the global date and time
string</dfn> <var title="">datetime</var> is the <a href=#valid-global-date-and-time-string>valid global
date and time string</a> representing <var title="">datetime</var> with the last character of the string not
being a U+005A LATIN CAPITAL LETTER Z character (Z), even if the
time zone is UTC, and with a U+002D HYPHEN-MINUS character (-)
representing the sign of the time-zone offset when the time zone is
UTC.</p>
date and time string</a> representing <var title="">datetime</var>, with the <a href=#valid-time-string>valid time string</a>
component being given in its shortest possible form, with the last
character of the string not being a U+005A LATIN CAPITAL LETTER Z
character (Z), even if the time zone is UTC, and with a U+002D
HYPHEN-MINUS character (-) representing the sign of the time-zone
offset when the time zone is UTC.</p>

<p>The rules to <dfn id=parse-a-global-date-and-time-string>parse a global date and time string</dfn> are
as follows. This will return either a time in UTC, with associated
Expand Down
11 changes: 6 additions & 5 deletions index
Expand Up @@ -5120,11 +5120,12 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<p>The <dfn id=best-representation-of-the-global-date-and-time-string>best representation of the global date and time
string</dfn> <var title="">datetime</var> is the <a href=#valid-global-date-and-time-string>valid global
date and time string</a> representing <var title="">datetime</var> with the last character of the string not
being a U+005A LATIN CAPITAL LETTER Z character (Z), even if the
time zone is UTC, and with a U+002D HYPHEN-MINUS character (-)
representing the sign of the time-zone offset when the time zone is
UTC.</p>
date and time string</a> representing <var title="">datetime</var>, with the <a href=#valid-time-string>valid time string</a>
component being given in its shortest possible form, with the last
character of the string not being a U+005A LATIN CAPITAL LETTER Z
character (Z), even if the time zone is UTC, and with a U+002D
HYPHEN-MINUS character (-) representing the sign of the time-zone
offset when the time zone is UTC.</p>

<p>The rules to <dfn id=parse-a-global-date-and-time-string>parse a global date and time string</dfn> are
as follows. This will return either a time in UTC, with associated
Expand Down
11 changes: 6 additions & 5 deletions source
Expand Up @@ -4438,11 +4438,12 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<p>The <dfn>best representation of the global date and time
string</dfn> <var title="">datetime</var> is the <span>valid global
date and time string</span> representing <var
title="">datetime</var> with the last character of the string not
being a U+005A LATIN CAPITAL LETTER Z character (Z), even if the
time zone is UTC, and with a U+002D HYPHEN-MINUS character (-)
representing the sign of the time-zone offset when the time zone is
UTC.</p>
title="">datetime</var>, with the <span>valid time string</span>
component being given in its shortest possible form, with the last
character of the string not being a U+005A LATIN CAPITAL LETTER Z
character (Z), even if the time zone is UTC, and with a U+002D
HYPHEN-MINUS character (-) representing the sign of the time-zone
offset when the time zone is UTC.</p>

<p>The rules to <dfn>parse a global date and time string</dfn> are
as follows. This will return either a time in UTC, with associated
Expand Down

0 comments on commit bdeb95d

Please sign in to comment.