Skip to content
Snippets Groups Projects
Unverified Commit 713e384d authored by tribut's avatar tribut :man_dancing:
Browse files

Fix incomplete date format

parent 22ff3580
Branches
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<li><%= @day_stats.keys.count %> days <li><%= @day_stats.keys.count %> days
<ul> <ul>
<% @day_stats.each do |day, stats| %> <% @day_stats.each do |day, stats| %>
<li><%= day.strftime('%a %b, %Y') %>: <li><%= day.strftime('%a %b %d, %Y') %>:
<%= stats[:starts_at].strftime('%H:%M') %>&ndash;<%= stats[:ends_at].strftime('%H:%M') %>, <%= stats[:starts_at].strftime('%H:%M') %>&ndash;<%= stats[:ends_at].strftime('%H:%M') %>,
<%= stats[:wall_clock_time_min].round %> minutes wall clock time (<%= (stats[:wall_clock_time_min] / 60.0).round(2) %> hours), <%= stats[:wall_clock_time_min].round %> minutes wall clock time (<%= (stats[:wall_clock_time_min] / 60.0).round(2) %> hours),
<%= stats[:scheduled_time_min].round %> minutes scheduled (<%= (stats[:scheduled_time_min] / 60.0).round(2) %> hours) in <%= stats[:sessions_count] %> sessions <%= stats[:scheduled_time_min].round %> minutes scheduled (<%= (stats[:scheduled_time_min] / 60.0).round(2) %> hours) in <%= stats[:sessions_count] %> sessions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment