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

[whatwg] Week Strings

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 14 Jul 2009 05:17:53 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907140515160.23663@hixie.dreamhostps.com>
On Fri, 19 Jun 2009, 'Smylers' wrote:
>
> And even states the blindingly obvious:
> 
>   The 'week number of the last day' of a week-year with 53 weeks is 53;
>   the 'week number of the last day' of a week-year with 52 weeks is 52.

I use the term "week number of the last day" as a kind of function in the 
spec, so while it may be obvious, it has to be listed explicitly otherwise 
one could argue that it isn't defined. (I could probably just stop using 
it as a function and just assume that people will apply common sense, but 
sometimes that doesn't work so well...)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 13 July 2009 22:17:53 UTC

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