Changes between Initial Version and Version 1 of Ticket #12821


Ignore:
Timestamp:
May 1, 2011, 10:35:31 PM (11 years ago)
Author:
Douglas Hays
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12821 – Description

    initial v1  
    11isLeapYear returns true for 1900 but it's not a leap year.  I tried the following code and it seems to work:
    22{{{
    3 return !(year%4) && (!!(year%100) || !(year%400)) && !!(year%1600);
     3return !(year%4) && (!!(year%100) || !(year%400));
    44}}}
    55This is easily seen with the new date picker spinning wheels in dojox/mobile.