Mercurial > hg > bitsyblog
comparison bitsyblog/calendar.py @ 91:56ac8bd08fa0
start stubbing an HTML calendar \o/
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 01 Sep 2012 01:45:56 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
90:d29100da202a | 91:56ac8bd08fa0 |
---|---|
1 """ | |
2 calendar navigation for bitsyblog | |
3 """ | |
4 | |
5 import cal | |
6 | |
7 class LinkCalendar(cal.HTMLCalendar): | |
8 | |
9 def __init__(self): | |
10 cal.Calendar.__init__(self, firstweekday=6) | |
11 | |
12 def formatweekheader(self): | |
13 return '' # no need for listing weekdays |