Skip to content

Commit b42d8a1

Browse files
update the timestamp format in another location
1 parent e60a477 commit b42d8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Resque/Failure/Redis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Resque_Failure_Redis implements Resque_Failure_Interface
2020
public function __construct($payload, $exception, $worker, $queue)
2121
{
2222
$data = new stdClass;
23-
$data->failed_at = strftime('%a %b %d %H:%M:%S %Z %Y');
23+
$data->failed_at = date('c');
2424
$data->payload = $payload;
2525
$data->exception = get_class($exception);
2626
$data->error = $exception->getMessage();

0 commit comments

Comments
 (0)