W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

[whatwg] [html5] Pre-Last Call Comments

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 3 Jun 2009 09:41:19 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0906030939250.1648@hixie.dreamhostps.com>
On Sun, 5 Apr 2009, Christoph P?per wrote:
> Giovanni Campagna:
> > - The second paragraph in 2.4.5.6 is hard to understand because the
> > verb is at the end. I would rewrite as
> > "A week-year with a number *yr* has 53 weeks if corresponds to a year *yr*
> > in the proleptic Gregorian calendar that has a Thursday as its first day
> > (January 1st), or if *yr* where *yr* is a number divisible by 400, or a
> > number divisible by 4 but not by 100. In all other cases it has 52 weeks"
> 
> | A week-year with a number $year that corresponds to a year $year in the
> | proleptic Gregorian calendar that has a Thursday as its first day
> | (January 1st), and a week-year $year where $year is a number divisible
> | by 400, or a number divisible by 4 but not by 100, has 53 weeks. All
> | other week-years have 52 weeks.
> 
> The description is wrong anyhow: Not every leap year has 53 weeks! (For 
> instance, 2008 and 2012 have 52 weeks only.) The difference to common 
> years is that leap years with 53 weeks can have Jan01 on either Thu or 
> Wed, because Dec31 then is Fri or Thu respectively. (Compare your 2020 
> to your 2004 calendar.)

Fixed, thanks.


> Or just reference and rely on ISO 8601. That is what references 
> (especially to standards) are for after all.

I would, except that ISO8601 costs 130 CHF and it seems far easier for 
everyone concerned to just add the paragraph right there instead of 
deferring to some paragraph elsewhere.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 3 June 2009 02:41:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:12 UTC