Skip to content

Commit

Permalink
Merge pull request #43 from notpron/cakephp-3.x-upgrade
Browse files Browse the repository at this point in the history
Fix notBefore datetime conversion issue
  • Loading branch information
tersmitten authored Jan 17, 2020
2 parents 90423a4 + 9989aa6 commit a6c4ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Table/QueuedTasksTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function createJob($taskName, array $data = null, string $notBefore = nul
];

if (!empty($notBefore)) {
$task['not_before'] = $this->getDateTime(strtotime($notBefore));
$task['not_before'] = $this->getDateTime($notBefore);
}

$queuedTask = $this->newEntity($task);
Expand Down

0 comments on commit a6c4ab2

Please sign in to comment.