Merge pull request #5938 from tchak/sib-emails-list-fix
Try to parse SIB email date when it is a string
This commit is contained in:
commit
23d54910b7
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