Commit 00e38789 authored by Mike Greiling's avatar Mike Greiling

adjust user contribution calendar time formatting

parent 08c513b6
%h4.prepend-top-20 %h4.prepend-top-20
Contributions for Contributions for
%strong= @calendar_date.to_s(:short) %strong= @calendar_date.to_s(:medium)
- if @events.any? - if @events.any?
%ul.bordered-list %ul.bordered-list
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
%li %li
%span.light %span.light
%i.fa.fa-clock-o %i.fa.fa-clock-o
= event.created_at.to_s(:time) = event.created_at.strftime('%-I:%M%P')
- if event.push? - if event.push?
#{event.action_name} #{event.ref_type} #{event.action_name} #{event.ref_type}
%strong %strong
...@@ -30,4 +30,4 @@ ...@@ -30,4 +30,4 @@
= event.project_name = event.project_name
- else - else
%p %p
No contributions found for #{@calendar_date.to_s(:short)} No contributions found for #{@calendar_date.to_s(:medium)}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment