fix bug in bars layout (regarding day of month reference)

git-svn-id: https://callirhoe.googlecode.com/svn/branches/next@46 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
This commit is contained in:
geortz@gmail.com 2014-08-28 16:35:05 +00:00
parent 11e2ac0313
commit e31fa29316

View File

@ -55,7 +55,7 @@ class CalendarRenderer(_base.CalendarRenderer):
if dom <= span:
holiday_tuple = self.holiday_provider(year, month, dom, day)
day_style = holiday_tuple[2]
dcell = _base.DayCell(day = (dom, col), header = holiday_tuple[0], footer = holiday_tuple[1],
dcell = _base.DayCell(day = (dom, day), header = holiday_tuple[0], footer = holiday_tuple[1],
theme = (day_style, G.dom, L), show_day_name = True)
dcell.draw(cr, R, daycell_thres)
else: