Skip to content

Commit 9989aa6

Browse files
author
Philo Hamel
committed
Fix notBefore datetime conversion issue
1 parent 3b69d8a commit 9989aa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Model/Table/QueuedTasksTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function createJob($taskName, array $data = null, string $notBefore = nul
9797
];
9898

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

103103
$queuedTask = $this->newEntity($task);

0 commit comments

Comments
 (0)