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