[html5] r2380 - [e] (0) Move the 'vaguer moments' section down so the precise moments are all to [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Oct 29 15:30:18 PDT 2008
Author: ianh
Date: 2008-10-29 15:30:17 -0700 (Wed, 29 Oct 2008)
New Revision: 2380
Modified:
index
source
Log:
[e] (0) Move the 'vaguer moments' section down so the precise moments are all together.
Modified: index
===================================================================
--- index 2008-10-29 08:46:26 UTC (rev 2379)
+++ index 2008-10-29 22:30:17 UTC (rev 2380)
@@ -226,13 +226,13 @@
<li><a href=#dates-and-times><span class=secno>2.4.4 </span>Dates and times</a>
<ol>
<li><a href=#specific-moments-in-time><span class=secno>2.4.4.1 </span>Specific moments in time</a></li>
- <li><a href=#vaguer-moments-in-time><span class=secno>2.4.4.2 </span>Vaguer moments in time</a></li>
- <li><a href=#utc-dates-and-times><span class=secno>2.4.4.3 </span>UTC dates and times</a></li>
- <li><a href=#local-dates-and-times><span class=secno>2.4.4.4 </span>Local dates and times</a></li>
- <li><a href=#dates><span class=secno>2.4.4.5 </span>Dates</a></li>
- <li><a href=#months><span class=secno>2.4.4.6 </span>Months</a></li>
- <li><a href=#weeks><span class=secno>2.4.4.7 </span>Weeks</a></li>
- <li><a href=#times><span class=secno>2.4.4.8 </span>Times</a></li>
+ <li><a href=#utc-dates-and-times><span class=secno>2.4.4.2 </span>UTC dates and times</a></li>
+ <li><a href=#local-dates-and-times><span class=secno>2.4.4.3 </span>Local dates and times</a></li>
+ <li><a href=#dates><span class=secno>2.4.4.4 </span>Dates</a></li>
+ <li><a href=#months><span class=secno>2.4.4.5 </span>Months</a></li>
+ <li><a href=#weeks><span class=secno>2.4.4.6 </span>Weeks</a></li>
+ <li><a href=#times><span class=secno>2.4.4.7 </span>Times</a></li>
+ <li><a href=#vaguer-moments-in-time><span class=secno>2.4.4.8 </span>Vaguer moments in time</a></li>
<li><a href=#time-offsets><span class=secno>2.4.4.9 </span>Time offsets</a></ol></li>
<li><a href=#space-separated-tokens><span class=secno>2.4.5 </span>Space-separated tokens</a></li>
<li><a href=#comma-separated-tokens><span class=secno>2.4.6 </span>Comma-separated tokens</a></li>
@@ -2957,8 +2957,81 @@
<li><p>Return <var title="">time</var> and <var title="">timezone</var>.</li>
- </ol><h5 id=vaguer-moments-in-time><span class=secno>2.4.4.2 </span>Vaguer moments in time</h5>
+ </ol><h5 id=utc-dates-and-times><span class=secno>2.4.4.2 </span>UTC dates and times</h5>
+ <p>A <dfn id=concept-datetime title=concept-datetime>UTC date and time</dfn> consists
+ of a specific Gregorian date expressed relative to the UTC timezone,
+ consisting of a year, a month, a day, an hour, a minute, a second,
+ and a fraction of a second. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
+
+ <p class=XXX>... <dfn id=valid-utc-date-and-time-string>valid UTC date and time string</dfn></p>
+
+ <p class=XXX>... rules to <dfn id=parse-a-utc-date-and-time-string>parse a UTC date and time
+ string</dfn></p>
+
+
+ <h5 id=local-dates-and-times><span class=secno>2.4.4.3 </span>Local dates and times</h5>
+
+ <p>A <dfn id=concept-datetime-local title=concept-datetime-local>local date and time</dfn>
+ consists of a specific Gregorian date with no timezone information,
+ consisting of a year, a month, a day, an hour, a minute, a second,
+ and a fraction of a second. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
+
+ <p class=XXX>... <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn></p>
+
+ <p class=XXX>... rules to <dfn id=parse-a-local-date-and-time-string>parse a local date and time
+ string</dfn></p>
+
+
+ <h5 id=dates><span class=secno>2.4.4.4 </span>Dates</h5>
+
+ <p>A <dfn id=concept-date title=concept-date>date</dfn> consists of a specific
+ Gregorian date with no timezone information, consisting of a year, a
+ month, and a day. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
+
+ <p class=XXX>... <dfn id=valid-date-string>valid date string</dfn></p>
+
+ <p class=XXX>... rules to <dfn id=parse-a-date-string>parse a date string</dfn></p>
+
+
+ <h5 id=months><span class=secno>2.4.4.5 </span>Months</h5>
+
+ <p>A <dfn id=concept-month title=concept-month>month</dfn> consists of a specific
+ Gregorian date with no timezone information and no date information
+ beyond a year and a month. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
+
+ <p class=XXX>... <dfn id=valid-month-string>valid month string</dfn></p>
+
+ <p class=XXX>... rules to <dfn id=parse-a-month-string>parse a month string</dfn></p>
+
+
+ <h5 id=weeks><span class=secno>2.4.4.6 </span>Weeks</h5>
+
+ <p>A <dfn id=concept-week title=concept-week>week</dfn> consists of a specific
+ Gregorian date with no timezone information and no date information
+ beyond a year and a week. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
+
+ <!-- XXX ISO week information -->
+
+ <p class=XXX>... <dfn id=valid-week-string>valid week string</dfn></p>
+
+ <p class=XXX>... rules to <dfn id=parse-a-week-string>parse a week string</dfn></p>
+
+
+ <h5 id=times><span class=secno>2.4.4.7 </span>Times</h5>
+
+ <p>A <dfn id=concept-time title=concept-time>time</dfn> consists of a specific
+ time with no timezone information, consisting of an hour, a minute,
+ a second, and a fraction of a second.</p>
+
+ <p class=XXX>... <dfn id=valid-time-string>valid time string</dfn></p>
+
+ <p class=XXX>... rules to <dfn id=parse-a-time-string>parse a time string</dfn></p>
+
+
+
+ <h5 id=vaguer-moments-in-time><span class=secno>2.4.4.8 </span>Vaguer moments in time</h5>
+
<p>This section defines <dfn id=date-or-time-string title="date or time string">date or
time strings</dfn>. There are two kinds, <dfn id=date-or-time-string-in-content title="date or time
string in content">date or time strings in content</dfn>, and <dfn id=date-or-time-string-in-attributes title="date or time string in attributes">date or time strings in
@@ -2969,6 +3042,7 @@
the following algorithm. A <a href=#date-or-time-string>date or time string</a> is a
<em>valid</em> date or time string if the following algorithm, when
run on the string, doesn't say the string is invalid.</p>
+ <!-- XXX should define that without reference to the algorithm -->
<p>The algorithm may return nothing (in which case the string will
be invalid), or it may return a date, a time, a date and a time, or
@@ -3249,80 +3323,8 @@
<li><p>Abort these steps (the string is parsed).</li>
- </ol><h5 id=utc-dates-and-times><span class=secno>2.4.4.3 </span>UTC dates and times</h5>
+ </ol><h5 id=time-offsets><span class=secno>2.4.4.9 </span>Time offsets</h5>
- <p>A <dfn id=concept-datetime title=concept-datetime>UTC date and time</dfn> consists
- of a specific Gregorian date expressed relative to the UTC timezone,
- consisting of a year, a month, a day, an hour, a minute, a second,
- and a fraction of a second. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
-
- <p class=XXX>... <dfn id=valid-utc-date-and-time-string>valid UTC date and time string</dfn></p>
-
- <p class=XXX>... rules to <dfn id=parse-a-utc-date-and-time-string>parse a UTC date and time
- string</dfn></p>
-
-
- <h5 id=local-dates-and-times><span class=secno>2.4.4.4 </span>Local dates and times</h5>
-
- <p>A <dfn id=concept-datetime-local title=concept-datetime-local>local date and time</dfn>
- consists of a specific Gregorian date with no timezone information,
- consisting of a year, a month, a day, an hour, a minute, a second,
- and a fraction of a second. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
-
- <p class=XXX>... <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn></p>
-
- <p class=XXX>... rules to <dfn id=parse-a-local-date-and-time-string>parse a local date and time
- string</dfn></p>
-
-
- <h5 id=dates><span class=secno>2.4.4.5 </span>Dates</h5>
-
- <p>A <dfn id=concept-date title=concept-date>date</dfn> consists of a specific
- Gregorian date with no timezone information, consisting of a year, a
- month, and a day. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
-
- <p class=XXX>... <dfn id=valid-date-string>valid date string</dfn></p>
-
- <p class=XXX>... rules to <dfn id=parse-a-date-string>parse a date string</dfn></p>
-
-
- <h5 id=months><span class=secno>2.4.4.6 </span>Months</h5>
-
- <p>A <dfn id=concept-month title=concept-month>month</dfn> consists of a specific
- Gregorian date with no timezone information and no date information
- beyond a year and a month. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
-
- <p class=XXX>... <dfn id=valid-month-string>valid month string</dfn></p>
-
- <p class=XXX>... rules to <dfn id=parse-a-month-string>parse a month string</dfn></p>
-
-
- <h5 id=weeks><span class=secno>2.4.4.7 </span>Weeks</h5>
-
- <p>A <dfn id=concept-week title=concept-week>week</dfn> consists of a specific
- Gregorian date with no timezone information and no date information
- beyond a year and a week. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
-
- <!-- XXX ISO week information -->
-
- <p class=XXX>... <dfn id=valid-week-string>valid week string</dfn></p>
-
- <p class=XXX>... rules to <dfn id=parse-a-week-string>parse a week string</dfn></p>
-
-
- <h5 id=times><span class=secno>2.4.4.8 </span>Times</h5>
-
- <p>A <dfn id=concept-time title=concept-time>time</dfn> consists of a specific
- time with no timezone information, consisting of an hour, a minute,
- a second, and a fraction of a second.</p>
-
- <p class=XXX>... <dfn id=valid-time-string>valid time string</dfn></p>
-
- <p class=XXX>... rules to <dfn id=parse-a-time-string>parse a time string</dfn></p>
-
-
- <h5 id=time-offsets><span class=secno>2.4.4.9 </span>Time offsets</h5>
-
<p class=XXX><dfn id=valid-time-offset>valid time offset</dfn>, <dfn id=rules-for-parsing-time-offsets>rules for
parsing time offsets</dfn>, <dfn id=time-offset-serialization-rules>time offset serialization
rules</dfn>; probably in the format "5d4h3m2.1s" or similar, with
Modified: source
===================================================================
--- source 2008-10-29 08:46:26 UTC (rev 2379)
+++ source 2008-10-29 22:30:17 UTC (rev 2380)
@@ -2285,6 +2285,83 @@
</ol>
+ <h5>UTC dates and times</h5>
+
+ <p>A <dfn title="concept-datetime">UTC date and time</dfn> consists
+ of a specific Gregorian date expressed relative to the UTC timezone,
+ consisting of a year, a month, a day, an hour, a minute, a second,
+ and a fraction of a second. <a
+ href="#refsGREGORIAN">[GREGORIAN]</a></p>
+
+ <p class="XXX">... <dfn>valid UTC date and time string</dfn></p>
+
+ <p class="XXX">... rules to <dfn>parse a UTC date and time
+ string</dfn></p>
+
+
+ <h5>Local dates and times</h5>
+
+ <p>A <dfn title="concept-datetime-local">local date and time</dfn>
+ consists of a specific Gregorian date with no timezone information,
+ consisting of a year, a month, a day, an hour, a minute, a second,
+ and a fraction of a second. <a
+ href="#refsGREGORIAN">[GREGORIAN]</a></p>
+
+ <p class="XXX">... <dfn>valid local date and time string</dfn></p>
+
+ <p class="XXX">... rules to <dfn>parse a local date and time
+ string</dfn></p>
+
+
+ <h5>Dates</h5>
+
+ <p>A <dfn title="concept-date">date</dfn> consists of a specific
+ Gregorian date with no timezone information, consisting of a year, a
+ month, and a day. <a href="#refsGREGORIAN">[GREGORIAN]</a></p>
+
+ <p class="XXX">... <dfn>valid date string</dfn></p>
+
+ <p class="XXX">... rules to <dfn>parse a date string</dfn></p>
+
+
+ <h5>Months</h5>
+
+ <p>A <dfn title="concept-month">month</dfn> consists of a specific
+ Gregorian date with no timezone information and no date information
+ beyond a year and a month. <a
+ href="#refsGREGORIAN">[GREGORIAN]</a></p>
+
+ <p class="XXX">... <dfn>valid month string</dfn></p>
+
+ <p class="XXX">... rules to <dfn>parse a month string</dfn></p>
+
+
+ <h5>Weeks</h5>
+
+ <p>A <dfn title="concept-week">week</dfn> consists of a specific
+ Gregorian date with no timezone information and no date information
+ beyond a year and a week. <a
+ href="#refsGREGORIAN">[GREGORIAN]</a></p>
+
+ <!-- XXX ISO week information -->
+
+ <p class="XXX">... <dfn>valid week string</dfn></p>
+
+ <p class="XXX">... rules to <dfn>parse a week string</dfn></p>
+
+
+ <h5>Times</h5>
+
+ <p>A <dfn title="concept-time">time</dfn> consists of a specific
+ time with no timezone information, consisting of an hour, a minute,
+ a second, and a fraction of a second.</p>
+
+ <p class="XXX">... <dfn>valid time string</dfn></p>
+
+ <p class="XXX">... rules to <dfn>parse a time string</dfn></p>
+
+
+
<h5>Vaguer moments in time</h5>
<p>This section defines <dfn title="date or time string">date or
@@ -2298,6 +2375,7 @@
the following algorithm. A <span>date or time string</span> is a
<em>valid</em> date or time string if the following algorithm, when
run on the string, doesn't say the string is invalid.</p>
+ <!-- XXX should define that without reference to the algorithm -->
<p>The algorithm may return nothing (in which case the string will
be invalid), or it may return a date, a time, a date and a time, or
@@ -2637,82 +2715,6 @@
</ol>
- <h5>UTC dates and times</h5>
-
- <p>A <dfn title="concept-datetime">UTC date and time</dfn> consists
- of a specific Gregorian date expressed relative to the UTC timezone,
- consisting of a year, a month, a day, an hour, a minute, a second,
- and a fraction of a second. <a
- href="#refsGREGORIAN">[GREGORIAN]</a></p>
-
- <p class="XXX">... <dfn>valid UTC date and time string</dfn></p>
-
- <p class="XXX">... rules to <dfn>parse a UTC date and time
- string</dfn></p>
-
-
- <h5>Local dates and times</h5>
-
- <p>A <dfn title="concept-datetime-local">local date and time</dfn>
- consists of a specific Gregorian date with no timezone information,
- consisting of a year, a month, a day, an hour, a minute, a second,
- and a fraction of a second. <a
- href="#refsGREGORIAN">[GREGORIAN]</a></p>
-
- <p class="XXX">... <dfn>valid local date and time string</dfn></p>
-
- <p class="XXX">... rules to <dfn>parse a local date and time
- string</dfn></p>
-
-
- <h5>Dates</h5>
-
- <p>A <dfn title="concept-date">date</dfn> consists of a specific
- Gregorian date with no timezone information, consisting of a year, a
- month, and a day. <a href="#refsGREGORIAN">[GREGORIAN]</a></p>
-
- <p class="XXX">... <dfn>valid date string</dfn></p>
-
- <p class="XXX">... rules to <dfn>parse a date string</dfn></p>
-
-
- <h5>Months</h5>
-
- <p>A <dfn title="concept-month">month</dfn> consists of a specific
- Gregorian date with no timezone information and no date information
- beyond a year and a month. <a
- href="#refsGREGORIAN">[GREGORIAN]</a></p>
-
- <p class="XXX">... <dfn>valid month string</dfn></p>
-
- <p class="XXX">... rules to <dfn>parse a month string</dfn></p>
-
-
- <h5>Weeks</h5>
-
- <p>A <dfn title="concept-week">week</dfn> consists of a specific
- Gregorian date with no timezone information and no date information
- beyond a year and a week. <a
- href="#refsGREGORIAN">[GREGORIAN]</a></p>
-
- <!-- XXX ISO week information -->
-
- <p class="XXX">... <dfn>valid week string</dfn></p>
-
- <p class="XXX">... rules to <dfn>parse a week string</dfn></p>
-
-
- <h5>Times</h5>
-
- <p>A <dfn title="concept-time">time</dfn> consists of a specific
- time with no timezone information, consisting of an hour, a minute,
- a second, and a fraction of a second.</p>
-
- <p class="XXX">... <dfn>valid time string</dfn></p>
-
- <p class="XXX">... rules to <dfn>parse a time string</dfn></p>
-
-
<h5>Time offsets</h5>
<p class="XXX"><dfn>valid time offset</dfn>, <dfn>rules for
More information about the Commit-Watchers
mailing list