mirror of
https://github.com/oDinZu/callirhoe.git
synced 2025-02-23 00:02:16 -05:00
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:
parent
11e2ac0313
commit
e31fa29316
@ -55,7 +55,7 @@ class CalendarRenderer(_base.CalendarRenderer):
|
|||||||
if dom <= span:
|
if dom <= span:
|
||||||
holiday_tuple = self.holiday_provider(year, month, dom, day)
|
holiday_tuple = self.holiday_provider(year, month, dom, day)
|
||||||
day_style = holiday_tuple[2]
|
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)
|
theme = (day_style, G.dom, L), show_day_name = True)
|
||||||
dcell.draw(cr, R, daycell_thres)
|
dcell.draw(cr, R, daycell_thres)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user