Fix bug.
This commit is contained in:
parent
5d14e25578
commit
1cfe929348
|
@ -33,7 +33,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<% if ['start_time','end_time','recurring','recurring_interval','recurring_end_date','passed'].exclude?(k) %>
|
<% if ['start_time','end_time','recurring','recurring_interval','recurring_end_date','passed'].exclude?(k) %>
|
||||||
<%= v.to_s %>
|
<%= v.to_s.html_safe %>
|
||||||
<% elsif ['start_time','end_time','recurring_end_date'].include?(k) %>
|
<% elsif ['start_time','end_time','recurring_end_date'].include?(k) %>
|
||||||
<%= v.strftime('%Y/%m/%d %H:%M') rescue nil %>
|
<%= v.strftime('%Y/%m/%d %H:%M') rescue nil %>
|
||||||
<% elsif k == 'recurring_interval' %>
|
<% elsif k == 'recurring_interval' %>
|
||||||
|
|
Loading…
Reference in New Issue