# HG changeset patch # User neko259 # Date 2013-11-27 08:22:35 # Node ID debeb613dac9f508b400d70a4ec4bd462318589b # Parent cf63309c438fa5bcf530d27669e349156fb767b9 Small design changes. Count board speed since yesterday, not today diff --git a/boards/models/post.py b/boards/models/post.py --- a/boards/models/post.py +++ b/boards/models/post.py @@ -172,8 +172,8 @@ class PostManager(models.Manager): posts_per_days = [] for i in POSTS_PER_DAY_RANGE: - day_end = today + timedelta(i) - day_start = today + timedelta(i - 1) + day_end = today + timedelta(i - 1) + day_start = today + timedelta(i - 2) day_time_start = datetime.combine(day_start, dtime()) day_time_end = datetime.combine(day_end, dtime()) @@ -327,4 +327,4 @@ class Thread(models.Model): return str(self.get_replies()[0].id) def get_pub_time(self): - return self.get_opening_post().pub_time \ No newline at end of file + return self.get_opening_post().pub_time diff --git a/boards/static/css/md/base_page.css b/boards/static/css/md/base_page.css --- a/boards/static/css/md/base_page.css +++ b/boards/static/css/md/base_page.css @@ -24,6 +24,7 @@ html { .title { font-weight: bold; color: #ffcc00; + font-size: 2ex; } .link, a {