W3C home > Mailing lists > Public > www-archive@w3.org > March 2003

cwm time:dayOfWeek fencepost bug

From: Dan Connolly <connolly@w3.org>
Date: 14 Mar 2003 15:46:39 -0600
To: Tim Berners-Lee <timbl@w3.org>
Cc: www-archive+n3bugs@w3.org
Message-Id: <1047678399.25643.271.camel@dirk.dm93.org>

The test ref/timet1.n3 says...

    "1999-12-31T23:59:59.99Z"     a v:TestDate;
         :day "31";
         :dayOfWeek "4";

Now 31 Dec 1999 was a Friday.
If you count back, that means zero is monday,
which disagrees with "Sunday being 0"
http://www.w3.org/2000/10/swap/doc/CwmBuiltins.html

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 14 March 2003 16:45:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:28 GMT