Mercurial > hg > bitsyblog
changeset 91:56ac8bd08fa0
start stubbing an HTML calendar \o/
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 01 Sep 2012 01:45:56 -0700 |
parents | d29100da202a |
children | bc1753ff9b8b |
files | bitsyblog/calendar.py |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bitsyblog/calendar.py Sat Sep 01 01:45:56 2012 -0700 @@ -0,0 +1,13 @@ +""" +calendar navigation for bitsyblog +""" + +import cal + +class LinkCalendar(cal.HTMLCalendar): + + def __init__(self): + cal.Calendar.__init__(self, firstweekday=6) + + def formatweekheader(self): + return '' # no need for listing weekdays