Show More
@@ -74,13 +74,10 b' 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 | ||
|
84 | 81 | |
|
85 | 82 | def author_key_cleaner(k): |
|
86 | 83 | k = person(k) |
General Comments 0
You need to be logged in to leave comments.
Login now