diff --git a/lib/sidekiq/api.rb b/lib/sidekiq/api.rb index fc7736bae..b00d9e364 100644 --- a/lib/sidekiq/api.rb +++ b/lib/sidekiq/api.rb @@ -239,7 +239,7 @@ def jid end def enqueued_at - Time.at(@item['enqueued_at'] || 0).utc + Time.at(@item['enqueued_at'].to_f).utc end def queue