[issue28253] calendar.prcal(9999) output has a problem

Serhiy Storchaka report at bugs.python.org
Fri Sep 23 04:15:20 EDT 2016


Serhiy Storchaka added the comment:

Html calendar formats the last week differently for years 9982 and 9999.

Year 9982:
<tr><td class="mon">27</td><td class="tue">28</td><td class="wed">29</td><td class="thu">30</td><td class="fri">31</td><td class="noday"> </td><td class="noday"> </td></tr>

Year 9999:
<tr><td class="mon">27</td><td class="tue">28</td><td class="wed">29</td><td class="thu">30</td><td class="fri">31</td></tr>

I think this issue should be fixed on lower level than text calendar formatter.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28253>
_______________________________________


More information about the Python-bugs-list mailing list