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:
parent
6bb7706736
commit
4da700eae6
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue