We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc135c8 + 298a7f5 commit e947af0Copy full SHA for e947af0
lib/resque/failure/redis.rb
@@ -5,7 +5,7 @@ module Failure
5
class Redis < Base
6
def save
7
data = {
8
- :failed_at => Time.now.strftime("%Y/%m/%d %H:%M:%S"),
+ :failed_at => Time.now.strftime("%Y/%m/%d %H:%M:%S %Z"),
9
:payload => payload,
10
:exception => exception.class.to_s,
11
:error => exception.to_s,
lib/resque/worker.rb
@@ -381,7 +381,7 @@ def working_on(job)
381
job.worker = self
382
data = encode \
383
:queue => job.queue,
384
- :run_at => Time.now.to_s,
+ :run_at => Time.now.strftime("%Y/%m/%d %H:%M:%S %Z"),
385
:payload => job.payload
386
redis.set("worker:#{self}", data)
387
end
0 commit comments