diff options
Diffstat (limited to 'views/_events_calendar_day.haml')
-rw-r--r-- | views/_events_calendar_day.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/_events_calendar_day.haml b/views/_events_calendar_day.haml index 9682b56..1b42520 100644 --- a/views/_events_calendar_day.haml +++ b/views/_events_calendar_day.haml @@ -1,6 +1,6 @@ %td{:class => (@today.month % 2 == 0 ? "even" : "odd")} %p.event_date - %a{:href => "/events/list/#{@today.strftime("%Y-%m-%d")}?#{request.query_string}"} + %a{:href => "/events/list/#{@today.strftime("%F")}?#{request.query_string}"} = @today.strftime(((@today - 1.day).month != @today.month) ? "%d %b" : "%d") =partial("history", :collection => events_calendar_day.first(10)) %p @@ -9,6 +9,6 @@ = events_calendar_day.length - 10 more events to display. - if events_calendar_day.length > 0 - %a{:href => "/events/list/#{@today.strftime("%Y-%m-%d")}?#{request.query_string}"} + %a{:href => "/events/list/#{@today.strftime("%F")}?#{request.query_string}"} Show the whole day. - @today += 1.day |