- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 29 Oct 2008 22:30:25 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv1147 Modified Files: Overview.html Log Message: Move the 'vaguer moments' section down so the precise moments are all together. (whatwg r2380) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1551 retrieving revision 1.1552 diff -u -d -r1.1551 -r1.1552 --- Overview.html 29 Oct 2008 08:46:30 -0000 1.1551 +++ Overview.html 29 Oct 2008 22:30:22 -0000 1.1552 @@ -165,13 +165,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> @@ -2486,14 +2486,30 @@ <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><p>This section defines <dfn id=date-or-time-string title="date or time string">date or + </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=#references>[GREGORIAN]</a><p class=XXX>... <dfn id=valid-utc-date-and-time-string>valid UTC date and time string</dfn><p class=XXX>... rules to <dfn id=parse-a-utc-date-and-time-string>parse a UTC date and time + string</dfn><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=#references>[GREGORIAN]</a><p class=XXX>... <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn><p class=XXX>... rules to <dfn id=parse-a-local-date-and-time-string>parse a local date and time + string</dfn><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=#references>[GREGORIAN]</a><p class=XXX>... <dfn id=valid-date-string>valid date string</dfn><p class=XXX>... rules to <dfn id=parse-a-date-string>parse a date string</dfn><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=#references>[GREGORIAN]</a><p class=XXX>... <dfn id=valid-month-string>valid month string</dfn><p class=XXX>... rules to <dfn id=parse-a-month-string>parse a month string</dfn><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=#references>[GREGORIAN]</a></p><!-- XXX ISO week information --><p class=XXX>... <dfn id=valid-week-string>valid week string</dfn><p class=XXX>... rules to <dfn id=parse-a-week-string>parse a week string</dfn><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 class=XXX>... <dfn id=valid-time-string>valid time string</dfn><p class=XXX>... rules to <dfn id=parse-a-time-string>parse a time string</dfn><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 attributes</dfn>. The only difference is in the handling of whitespace characters.<p>To parse a <a href=#date-or-time-string>date or time string</a>, user agents must use 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>The algorithm may return nothing (in which case the string will + 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 a date and a time and a timezone. Even if the algorithm returns one or more values, the string can still be invalid.<ol><!-- INIT --><li><p>Let <var title="">input</var> be the string being @@ -2770,23 +2786,7 @@ <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><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=#references>[GREGORIAN]</a><p class=XXX>... <dfn id=valid-utc-date-and-time-string>valid UTC date and time string</dfn><p class=XXX>... rules to <dfn id=parse-a-utc-date-and-time-string>parse a UTC date and time - string</dfn><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=#references>[GREGORIAN]</a><p class=XXX>... <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn><p class=XXX>... rules to <dfn id=parse-a-local-date-and-time-string>parse a local date and time - string</dfn><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=#references>[GREGORIAN]</a><p class=XXX>... <dfn id=valid-date-string>valid date string</dfn><p class=XXX>... rules to <dfn id=parse-a-date-string>parse a date string</dfn><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=#references>[GREGORIAN]</a><p class=XXX>... <dfn id=valid-month-string>valid month string</dfn><p class=XXX>... rules to <dfn id=parse-a-month-string>parse a month string</dfn><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=#references>[GREGORIAN]</a></p><!-- XXX ISO week information --><p class=XXX>... <dfn id=valid-week-string>valid week string</dfn><p class=XXX>... rules to <dfn id=parse-a-week-string>parse a week string</dfn><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 class=XXX>... <dfn id=valid-time-string>valid time string</dfn><p class=XXX>... rules to <dfn id=parse-a-time-string>parse a time string</dfn><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 + </ol><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 all components being optional, and the last component's unit suffix
Received on Wednesday, 29 October 2008 22:30:35 UTC