Skip to content

Commit 06163e4

Browse files
committed
add exact date/time to changelog events
1 parent 70126b4 commit 06163e4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/views/content/display/_changelog.html.erb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
changed_fields = AttributeField.where(id: changed_attributes.pluck(:attribute_field_id)).includes([:attribute_category])
66
%>
77

8-
98
<div class="row">
109
<div class="col s12 m12 l10 offset-l1">
1110
<h1 class="flow-text grey-text">
@@ -72,7 +71,11 @@
7271
<span>
7372
<%= link_to(change_event.user.display_name, change_event.user, class: "#{User.text_color}") %>
7473
</span>
75-
<div class="grey-text right"><%= time_ago_in_words change_event.created_at %> ago</div>
74+
<div class="grey-text right">
75+
<%= time_ago_in_words change_event.created_at %> ago
76+
&middot;
77+
<%= change_event.created_at.strftime('%B %d, %H:%M %Z') %>
78+
</div>
7679
</div>
7780
</div>
7881
<div style="margin-bottom: 4em">

0 commit comments

Comments
 (0)