Skip to content

Commit

Permalink
Change strftime to date (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckThom authored Nov 15, 2022
1 parent 67e9d4c commit 8ef3b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Model/Scheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public function schedule(): Schedule
$schedule = $this->scheduleCollection->getNewEmptyItem();
$schedule->setJobCode(Export::JOB_CODE)
->setStatus(Schedule::STATUS_PENDING)
->setCreatedAt(strftime('%Y-%m-%d %H:%M:%S', $createdAtTime))
->setScheduledAt(strftime('%Y-%m-%d %H:%M', $scheduledAtTime));
->setCreatedAt(date('Y-m-d H:i:s', $createdAtTime))
->setScheduledAt(date('Y-m-d H:i', $scheduledAtTime));

$schedule->save();

Expand Down

0 comments on commit 8ef3b2d

Please sign in to comment.