Navigation Menu

Skip to content

Commit

Permalink
[e] (0) Mention ISO 8601 in the 'week' section. This is a note, since…
Browse files Browse the repository at this point in the history
… it's non-normative but the statement could be confused as normative if it wasn't made a note. Also, it's qualified, because I'm not sure it's 100% true for dates before the introduction of the Gregorian calendar (it's proleptic, but I can't find any evidence that ISO8601's weeks are too, and wikipedia says ISO8601 isn't proleptic in general unless you have prior agreement as we do here). Also, it's different from the recent edit to the W3C spec for the same issue because the W3C one breaks the editorial convention used in this spec that avoids having references in sentences. Wow that's a long checkin comment for such a minor issue.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17642
Affected topics: WebSocket API

git-svn-id: http://svn.whatwg.org/webapps@7334 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 12, 2012
1 parent 331cdad commit 8b64c78
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions complete.html
Expand Up @@ -6523,6 +6523,9 @@ <h5 id=weeks><span class=secno>2.5.5.8 </span>Weeks</h5>
proleptic Gregorian calendar. The first week in a week-year <var title="">y</var> is the week that contains the first Thursday of
the Gregorian year <var title="">y</var>.</p>

<p class=note>For modern purposes, a <a href=#concept-week title=concept-week>week</a> as defined here is equivalent to
ISO weeks as defined in ISO 8601. <a href=#refsISO8601>[ISO8601]</a></p>

<p>A string is a <dfn id=valid-week-string>valid week string</dfn> representing a
week-year <var title="">year</var> and week <var title="">week</var>
if it consists of the following components in the given order:</p>
Expand Down
3 changes: 3 additions & 0 deletions index
Expand Up @@ -6523,6 +6523,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
proleptic Gregorian calendar. The first week in a week-year <var title="">y</var> is the week that contains the first Thursday of
the Gregorian year <var title="">y</var>.</p>

<p class=note>For modern purposes, a <a href=#concept-week title=concept-week>week</a> as defined here is equivalent to
ISO weeks as defined in ISO 8601. <a href=#refsISO8601>[ISO8601]</a></p>

<p>A string is a <dfn id=valid-week-string>valid week string</dfn> representing a
week-year <var title="">year</var> and week <var title="">week</var>
if it consists of the following components in the given order:</p>
Expand Down
5 changes: 5 additions & 0 deletions source
Expand Up @@ -6052,6 +6052,11 @@ is conforming depends on which specs apply, and leaves it at that. -->
title="">y</var> is the week that contains the first Thursday of
the Gregorian year <var title="">y</var>.</p>

<p class="note">For modern purposes, a <span
title="concept-week">week</span> as defined here is equivalent to
ISO weeks as defined in ISO 8601. <a
href="#refsISO8601">[ISO8601]</a></p>

<p>A string is a <dfn>valid week string</dfn> representing a
week-year <var title="">year</var> and week <var title="">week</var>
if it consists of the following components in the given order:</p>
Expand Down

0 comments on commit 8b64c78

Please sign in to comment.