Skip to content

Commit

Permalink
update the timestamp format in another location
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkmiller committed Mar 27, 2013
1 parent b42d8a1 commit f1ccf60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Resque/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public function workerPids()
public function registerWorker()
{
Resque::redis()->sadd('workers', (string)$this);
Resque::redis()->set('worker:' . (string)$this . ':started', strftime('%a %b %d %H:%M:%S %Z %Y'));
Resque::redis()->set('worker:' . (string)$this . ':started', date('c'));
}

/**
Expand Down

0 comments on commit f1ccf60

Please sign in to comment.