[whatwg] Week Strings

Smylers Smylers at stripey.com
Fri Jun 19 03:11:49 PDT 2009


Anne van Kesteren writes:

> On Fri, 19 Jun 2009 11:48:17 +0200, Smylers <Smylers at stripey.com>
> wrote:
> 
> > The spec doesn't appear to provide an algorithm for determining
> > which day of the week a year begins on (however I am not a browser
> > developer; possibly this is sufficiently straightforward that those
> > who are don't need it spelling out).
> 
> It does actually, but it is not clearly linked from "valid week" and
> such:
> 
>   http://www.whatwg.org/specs/web-apps/current-work/#weeks

That says that 1969 December 29th was a Monday, but doesn't appear to
give an algorithm for answering the question "Will the year 2010 begin
on a Thursday?".

Smylers



More information about the whatwg mailing list