Message277544
Under my proposal year=-1 is 2 B.C. and year 0 is a leap year
$ ./python.exe -mcalendar 0 2
February 0
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29
This is the simplest extension and people who require other variants can make their own adjustments. (This suggests that we should probably bring weekday(), isleap(), etc. methods to the Calendar class to allow users to override them.) |
|
Date |
User |
Action |
Args |
2016-09-27 19:35:00 | belopolsky | set | recipients:
+ belopolsky, doerwalter, serhiy.storchaka, xiang.zhang |
2016-09-27 19:34:59 | belopolsky | set | messageid: <1475004899.98.0.662992612784.issue28281@psf.upfronthosting.co.za> |
2016-09-27 19:34:59 | belopolsky | link | issue28281 messages |
2016-09-27 19:34:59 | belopolsky | create | |
|