web/views/_workers.slim in sidekiq-2.2.0 vs web/views/_workers.slim in sidekiq-2.2.1
- old
+ new
@@ -9,6 +9,6 @@
tr
td= worker
td= msg['queue']
td= msg['payload']['class']
td= msg['payload']['args'].inspect[0..100]
- td== relative_time(Time.parse(msg['run_at']))
+ td== relative_time(msg['run_at'].is_a?(Numeric) ? Time.at(msg['run_at']) : Time.parse(msg['run_at']))