diff --git a/web/views/_job_info.erb b/web/views/_job_info.erb index f8dd2c3b..b494c420 100644 --- a/web/views/_job_info.erb +++ b/web/views/_job_info.erb @@ -53,12 +53,12 @@ <%= t('LastRetry') %> - <%= relative_time(job['retried_at'].is_a?(Numeric) ? Time.at(job['retried_at']) : Time.parse(job['retried_at'])) %> + <%= relative_time(Time.at(job['retried_at'])) %> <% else %> <%= t('OriginallyFailed') %> - <%= relative_time(job['failed_at'].is_a?(Numeric) ? Time.at(job['failed_at']) : Time.parse(job['failed_at'])) %> + <%= relative_time(Time.at(job['failed_at'])) %> <% end %>