Skip to content

Commit e8a683c

Browse files
committed
Fix date formatting and date_cache in Ignite-mode proposal list
1 parent e87cee5 commit e8a683c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/open_conference_ware/proposals/_list.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ records = OpenConferenceWare::Proposal.sort(records, params[:sort] || "title", p
146146
<% end %>
147147
<td width="0" class="unbreakable">
148148
<p>
149-
<% date = record.submitted_at.localtime.to_s(:ocw_default) if record.submitted_at.present? %>
149+
<% date = record.submitted_at.localtime.strftime("%m/%d/%Y") if record.submitted_at.present? %>
150150
<% if date_cache[date] %>
151151
<!--
152152
<span class="date-seen"><%= date %></span>

0 commit comments

Comments
 (0)