Skip to content

Commit 3e62336

Browse files
committed
Emergency bug patch by @armandofox notified by customer.
Add &. safe call when dereferncing an event time, in case it is blank, to views/announcements/index I will also cherry-pick this to main, but not sure if safe to deploy from main at this time, so i'll deploy to heroku from this branch until main is declared clean
1 parent 4324153 commit 3e62336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/announcements/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<p class="fw-lighter small m-0" style="line-height: 2;"><small>Posted by <%= announcement.audience %> </small></p>
5656
<p class="m-0" style="line-height: 1;">
5757
<small>
58-
<b> Event Date: </b> <%= announcement.eventtime.strftime("%Y-%m-%d %I:%M %p %Z") %> <br>
58+
<b> Event Date: </b> <%= announcement.eventtime&.strftime("%Y-%m-%d %I:%M %p %Z") %> <br>
5959
<b> Event Location: </b> <%= announcement.location %>
6060
</small>
6161
</p>

0 commit comments

Comments
 (0)