Try to parse SIB email date when it is a string
This commit is contained in:
parent
1a4a658140
commit
ff8ccbd088
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
|||
<%= email.subject %>
|
||||
</td>
|
||||
<td class="cell-data cell-data--string" style="text-align: center;">
|
||||
<%= l(email.date, format: '%d/%m/%y à %H:%M') %>
|
||||
<%= l(email.date.is_a?(String) ? Time.zone.parse(email.date) : email.date, format: '%d/%m/%y à %H:%M') %>
|
||||
</td>
|
||||
<td class="cell-data cell-data--string" style="text-align: center;">
|
||||
<ul>
|
||||
|
|
Loading…
Reference in a new issue