[html5] r5848 - [giowt] (0) Clarify what the best representation of a datetime is. Fixing http:/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Feb 7 16:56:44 PST 2011


Author: ianh
Date: 2011-02-07 16:56:43 -0800 (Mon, 07 Feb 2011)
New Revision: 5848

Modified:
   complete.html
   index
   source
Log:
[giowt] (0) Clarify what the best representation of a datetime is.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11694

Modified: complete.html
===================================================================
--- complete.html	2011-02-08 00:46:26 UTC (rev 5847)
+++ complete.html	2011-02-08 00:56:43 UTC (rev 5848)
@@ -5140,11 +5140,12 @@
 
   <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

Modified: index
===================================================================
--- index	2011-02-08 00:46:26 UTC (rev 5847)
+++ index	2011-02-08 00:56:43 UTC (rev 5848)
@@ -5120,11 +5120,12 @@
 
   <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

Modified: source
===================================================================
--- source	2011-02-08 00:46:26 UTC (rev 5847)
+++ source	2011-02-08 00:56:43 UTC (rev 5848)
@@ -4438,11 +4438,12 @@
   <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




More information about the Commit-Watchers mailing list