[html5] r6892 - [c] (0) Limit the number of digits in the fraction part of a seconds time compon [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jan 11 15:14:55 PST 2012
Author: ianh
Date: 2012-01-11 15:14:54 -0800 (Wed, 11 Jan 2012)
New Revision: 6892
Modified:
complete.html
index
source
Log:
[c] (0) Limit the number of digits in the fraction part of a seconds time component to 3, since more than that and you lose precision when converting to milliseconds, e.g. for use with Date objects in the API.
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2012-01-11 00:09:13 UTC (rev 6891)
+++ complete.html 2012-01-11 23:14:54 UTC (rev 6892)
@@ -5757,7 +5757,7 @@
<ol><li>A 002E FULL STOP character (.)</li>
- <li>One or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing the
+ <li>One, two, or three <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing the
fractional part of <var title="">second</var></li>
</ol></li>
@@ -6393,7 +6393,7 @@
number of seconds.</li>
<li><p>Optionally, a U+002E FULL STOP character (.) followed
- by one or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing a
+ by one, two, or three <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing a
fraction of a second.</li>
<li><p>A U+0053 LATIN CAPITAL LETTER S character.</li>
@@ -6428,7 +6428,7 @@
<li><p>If the <a href=#duration-time-component-scale>duration time component scale</a>
specified is 1 (i.e. the units are seconds), then, optionally, a
- U+002E FULL STOP character (.) followed by one or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing a
+ U+002E FULL STOP character (.) followed by one, two, or three <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing a
fraction of a second.</li>
<li><p>Zero or more <a href=#space-character title="space character">space
Modified: index
===================================================================
--- index 2012-01-11 00:09:13 UTC (rev 6891)
+++ index 2012-01-11 23:14:54 UTC (rev 6892)
@@ -5757,7 +5757,7 @@
<ol><li>A 002E FULL STOP character (.)</li>
- <li>One or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing the
+ <li>One, two, or three <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing the
fractional part of <var title="">second</var></li>
</ol></li>
@@ -6393,7 +6393,7 @@
number of seconds.</li>
<li><p>Optionally, a U+002E FULL STOP character (.) followed
- by one or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing a
+ by one, two, or three <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing a
fraction of a second.</li>
<li><p>A U+0053 LATIN CAPITAL LETTER S character.</li>
@@ -6428,7 +6428,7 @@
<li><p>If the <a href=#duration-time-component-scale>duration time component scale</a>
specified is 1 (i.e. the units are seconds), then, optionally, a
- U+002E FULL STOP character (.) followed by one or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing a
+ U+002E FULL STOP character (.) followed by one, two, or three <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing a
fraction of a second.</li>
<li><p>Zero or more <a href=#space-character title="space character">space
Modified: source
===================================================================
--- source 2012-01-11 00:09:13 UTC (rev 6891)
+++ source 2012-01-11 23:14:54 UTC (rev 6892)
@@ -5145,7 +5145,7 @@
<li>A 002E FULL STOP character (.)</li>
- <li>One or more <span
+ <li>One, two, or three <span
title="concept-datetime-digit">digits</span>, representing the
fractional part of <var title="">second</var></li>
@@ -5963,7 +5963,7 @@
number of seconds.</p></li>
<li><p>Optionally, a U+002E FULL STOP character (.) followed
- by one or more <span
+ by one, two, or three <span
title="concept-datetime-digit">digits</span>, representing a
fraction of a second.</p></li>
@@ -6010,7 +6010,7 @@
<li><p>If the <span>duration time component scale</span>
specified is 1 (i.e. the units are seconds), then, optionally, a
- U+002E FULL STOP character (.) followed by one or more <span
+ U+002E FULL STOP character (.) followed by one, two, or three <span
title="concept-datetime-digit">digits</span>, representing a
fraction of a second.</p></li>
More information about the Commit-Watchers
mailing list