This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mft
Recipients mft
Date 2008-02-06.09:41:59
SpamBayes Score 0.075840205
Marked as misclassified No
Message-id <1202290921.43.0.226786092964.issue2018@psf.upfronthosting.co.za>
In-reply-to
Content
TextCalendar.formatmonth is not influenced by setfirstweekday,
but the argument of constructor.

Documentation:
Depends on the first weekday as set by setfirstweekday().

actual behavior:
>>> cal0 = calendar.TextCalendar()
>>> print cal0.formatmonth(2008, 2)
   February 2008
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

>>> calendar.setfirstweekday(4)
>>> print cal0.formatmonth(2008, 2)
   February 2008
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
History
Date User Action Args
2008-02-06 09:42:01mftsetspambayes_score: 0.0758402 -> 0.075840205
recipients: + mft
2008-02-06 09:42:01mftsetspambayes_score: 0.0758402 -> 0.0758402
messageid: <1202290921.43.0.226786092964.issue2018@psf.upfronthosting.co.za>
2008-02-06 09:42:00mftlinkissue2018 messages
2008-02-06 09:41:59mftcreate