##// END OF EJS Templates
fixed bug in summary graph
marcink -
r439:728fbb69 default
parent child Browse files
Show More
@@ -74,13 +74,10 b' class SummaryController(BaseController):'
74
74
75 #graph range
75 #graph range
76 td = datetime.today() + timedelta(days=1)
76 td = datetime.today() + timedelta(days=1)
77 y = td.year
77 y, m, d = td.year, td.month, td.day
78 m = td.month
78 c.ts_min = mktime((y, (td - timedelta(days=calendar.mdays[m])).month,
79 d = td.day
80 c.ts_min = mktime((y, (td - timedelta(days=calendar.mdays[m] - 1)).month,
81 d, 0, 0, 0, 0, 0, 0,))
79 d, 0, 0, 0, 0, 0, 0,))
82 c.ts_max = mktime((y, m, d, 0, 0, 0, 0, 0, 0,))
80 c.ts_max = mktime((y, m, d, 0, 0, 0, 0, 0, 0,))
83
84
81
85 def author_key_cleaner(k):
82 def author_key_cleaner(k):
86 k = person(k)
83 k = person(k)
General Comments 0
You need to be logged in to leave comments. Login now