1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

API should use UTC

This commit is contained in:
Mike Perham 2013-08-15 20:06:16 -07:00
parent 6bb7706736
commit 4da700eae6
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,8 @@
-----------
- Fix more race conditions in Web UI actions
- Don't reset Job enqueued\_at when retrying
- Timestamp tooltips in the Web UI should use UTC
2.13.1

View file

@ -175,7 +175,7 @@ module Sidekiq
end
def enqueued_at
Time.at(@item['enqueued_at'] || 0)
Time.at(@item['enqueued_at'] || 0).utc
end
def queue
@ -210,7 +210,7 @@ module Sidekiq
end
def at
Time.at(score)
Time.at(score).utc
end
def delete