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

[whatwg] Week Strings

From: Smylers <Smylers@stripey.com>
Date: Fri, 19 Jun 2009 11:11:49 +0100
Message-ID: <20090619101149.GB22306@stripey.com>
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
Received on Friday, 19 June 2009 03:11:49 UTC

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