# HG changeset patch # User Jeff Hammel # Date 1346489156 25200 # Node ID 56ac8bd08fa01f93e1b4a9a3ca010750cb680dd9 # Parent d29100da202a18952a37295278412065fcff0972 start stubbing an HTML calendar \o/ diff -r d29100da202a -r 56ac8bd08fa0 bitsyblog/calendar.py --- /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