[docs] Report bugs on the leaps year

Zachary Ware zachary.ware+pydocs at gmail.com
Sat Jan 12 12:59:03 EST 2019


On Sat, Jan 12, 2019 at 9:00 AM #CHUAH SHEOU SHUANG#
<SCHUAH003 at e.ntu.edu.sg> wrote:
> Dear Sir/Madam,
>
> I accidentally found out that for years 1700, 1800, and 1900, they should be leaps year but then it shows that it has 28 days on February.

Sorry, but Python has it right here.  In the Gregorian calendar, years
that are divisible by 100 but not divisible by 400 are not leap years.
See https://en.wikipedia.org/wiki/Leap_year#Gregorian_calendar for
more information.

Regards,
-- 
Zach


More information about the docs mailing list