Skip to content

Commit

Permalink
[BUGFIX] Use date() instead of strftime()
Browse files Browse the repository at this point in the history
  • Loading branch information
bmack committed Oct 30, 2019
1 parent 1e303f9 commit 679f885
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Service/PageWarmupService.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function warmUp(SymfonyStyle $io)
$queryBuilder->expr()->eq('sys_language_uid', 0)
)->execute();

$io->writeln('Starting to request pages at ' . strftime('d.m.Y H:i:s'));
$io->writeln('Starting to request pages at ' . date('d.m.Y H:i:s'));
$requestedPages = 0;

while ($pageRecord = $statement->fetch()) {
Expand All @@ -77,7 +77,7 @@ public function warmUp(SymfonyStyle $io)
}
}

$io->writeln('Finished requesting ' . $requestedPages . ' pages at ' . strftime('d.m.Y H:i:s'));
$io->writeln('Finished requesting ' . $requestedPages . ' pages at ' . date('d.m.Y H:i:s'));
}

/**
Expand Down

0 comments on commit 679f885

Please sign in to comment.