do not break logic
This commit is contained in:
parent
43740fce00
commit
691d9e401d
|
@ -135,8 +135,8 @@ class HistoryWindow:
|
||||||
date = time.localtime(tim)
|
date = time.localtime(tim)
|
||||||
|
|
||||||
y, m, d = date[0], date[1], date[2]
|
y, m, d = date[0], date[1], date[2]
|
||||||
m = gtkgui_helpers.make_python_month_gtk_month(m)
|
gtk_month = gtkgui_helpers.make_python_month_gtk_month(m)
|
||||||
self.calendar.select_month(m, y)
|
self.calendar.select_month(gtk_month, y)
|
||||||
self.calendar.select_day(d)
|
self.calendar.select_day(d)
|
||||||
self.add_lines_for_date(y, m, d)
|
self.add_lines_for_date(y, m, d)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue