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

adjust user contribution calendar time formatting

parent 08c513b6
%h4.prepend-top-20
Contributions for
%strong= @calendar_date.to_s(:short)
%strong= @calendar_date.to_s(:medium)
- if @events.any?
%ul.bordered-list
......@@ -8,7 +8,7 @@
%li
%span.light
%i.fa.fa-clock-o
= event.created_at.to_s(:time)
= event.created_at.strftime('%-I:%M%P')
- if event.push?
#{event.action_name} #{event.ref_type}
%strong
......@@ -30,4 +30,4 @@
= event.project_name
- else
%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