##// END OF EJS Templates
Small design changes. Count board speed since yesterday, not today
neko259 -
r411:debeb613 default
parent child Browse files
Show More
@@ -172,8 +172,8 b' class PostManager(models.Manager):'
172 172
173 173 posts_per_days = []
174 174 for i in POSTS_PER_DAY_RANGE:
175 day_end = today + timedelta(i)
176 day_start = today + timedelta(i - 1)
175 day_end = today + timedelta(i - 1)
176 day_start = today + timedelta(i - 2)
177 177 day_time_start = datetime.combine(day_start, dtime())
178 178 day_time_end = datetime.combine(day_end, dtime())
179 179
@@ -327,4 +327,4 b' class Thread(models.Model):'
327 327 return str(self.get_replies()[0].id)
328 328
329 329 def get_pub_time(self):
330 return self.get_opening_post().pub_time No newline at end of file
330 return self.get_opening_post().pub_time
@@ -24,6 +24,7 b' html {'
24 24 .title {
25 25 font-weight: bold;
26 26 color: #ffcc00;
27 font-size: 2ex;
27 28 }
28 29
29 30 .link, a {
General Comments 0
You need to be logged in to leave comments. Login now