- From: Travis Leithead <web-platform-tests-notifications@w3.org>
- Date: Thu, 19 Sep 2013 18:25:55 GMT
- To: public-web-platform-tests-notifications@w3.org
For better clarity -- to avoid the bizarre use of 111, you may alternatively use this approach, which I find to be slightly more readable and self-documenting: assert_equals(date.valueOf(), Date.UTC(2011,0,1)); // Note the month-value in the UTC method is 0-based. View on GitHub: https://github.com/w3c/web-platform-tests/pull/271#discussion_r6468689
Received on Thursday, 19 September 2013 18:26:01 UTC