mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Remove String format support for retried_at and failed_at
This commit is contained in:
parent
172d7ae018
commit
c101dc8707
1 changed files with 2 additions and 2 deletions
|
@ -53,12 +53,12 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th><%= t('LastRetry') %></th>
|
||||
<td><%= relative_time(job['retried_at'].is_a?(Numeric) ? Time.at(job['retried_at']) : Time.parse(job['retried_at'])) %></td>
|
||||
<td><%= relative_time(Time.at(job['retried_at'])) %></td>
|
||||
</tr>
|
||||
<% else %>
|
||||
<tr>
|
||||
<th><%= t('OriginallyFailed') %></th>
|
||||
<td><%= relative_time(job['failed_at'].is_a?(Numeric) ? Time.at(job['failed_at']) : Time.parse(job['failed_at'])) %></td>
|
||||
<td><%= relative_time(Time.at(job['failed_at'])) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in a new issue