Skip to content

Commit

Permalink
[] (0) Had wrong definition of 53-week week-years.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3184 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 3, 2009
1 parent 86c8374 commit 437a6f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
10 changes: 6 additions & 4 deletions index
Expand Up @@ -3818,11 +3818,13 @@
week-year, and vice versa. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p>A week-year with a number <var title="">year</var> has 53 weeks
if it corresponds to a year <var title="">year</var> in the
if it corresponds to either a year <var title="">year</var> in the
proleptic Gregorian calendar that has a Thursday as its first day
(January 1st), and a week-year <var title="">year</var> where <var title="">year</var> is a number divisible by 400, or a number
divisible by 4 but not by 100. All other week-years have 52
weeks.</p>
(January 1st), or a year <var title="">year</var> in the proleptic
Gregorian calendar that has a Wednesday as its first day (January
1st) and where <var title="">year</var> is a number divisible by
400, or a number divisible by 4 but not by 100. All other week-years
have 52 weeks.</p>

<p>The <dfn id=week-number-of-the-last-day>week number of the last day</dfn> of a week-year with 53
weeks is 53; the week number of the last day of a week-year with 52
Expand Down
11 changes: 6 additions & 5 deletions source
Expand Up @@ -3218,12 +3218,13 @@
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p>A week-year with a number <var title="">year</var> has 53 weeks
if it corresponds to a year <var title="">year</var> in the
if it corresponds to either a year <var title="">year</var> in the
proleptic Gregorian calendar that has a Thursday as its first day
(January 1st), and a week-year <var title="">year</var> where <var
title="">year</var> is a number divisible by 400, or a number
divisible by 4 but not by 100. All other week-years have 52
weeks.</p>
(January 1st), or a year <var title="">year</var> in the proleptic
Gregorian calendar that has a Wednesday as its first day (January
1st) and where <var title="">year</var> is a number divisible by
400, or a number divisible by 4 but not by 100. All other week-years
have 52 weeks.</p>

<p>The <dfn>week number of the last day</dfn> of a week-year with 53
weeks is 53; the week number of the last day of a week-year with 52
Expand Down

0 comments on commit 437a6f1

Please sign in to comment.