diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-12-04 09:10:03 +0000 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-12-04 09:10:03 +0000 |
commit | ff17da300f361425f0e22ccd9066cb6577aa10ee (patch) | |
tree | ec220c3bfdd7cd105d4ba2695fe1608cd44ec331 /views/_history.haml | |
parent | 66d2bcbfb05499ed4a185b0dff0829c8c49f4d08 (diff) |
Fixed event views to use dates, and to miss queries for days with no events.
Diffstat (limited to 'views/_history.haml')
-rw-r--r-- | views/_history.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/_history.haml b/views/_history.haml index cfeec51..400c1c3 100644 --- a/views/_history.haml +++ b/views/_history.haml @@ -14,4 +14,4 @@ = history.event - if history.user = "by #{history.user}" - - @today = history.created_at + - @today = Date.new(history.created_at.year, history.created_at.month, history.created_at.day) |