Skip to content

Commit e60a477

Browse files
Set job timestamp to ISO 8601 format so it can be properly 'relatized' by Resque-web
1 parent cd85e8b commit e60a477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Resque/Worker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ public function workingOn(Resque_Job $job)
486486
$job->updateStatus(Resque_Job_Status::STATUS_RUNNING);
487487
$data = json_encode(array(
488488
'queue' => $job->queue,
489-
'run_at' => strftime('%a %b %d %H:%M:%S %Z %Y'),
489+
'run_at' => date('c'),
490490
'payload' => $job->payload
491491
));
492492
Resque::redis()->set('worker:' . $job->worker, $data);

0 commit comments

Comments
 (0)