diff --git a/scan.php b/scan.php index 19d239a..a16c47c 100644 --- a/scan.php +++ b/scan.php @@ -622,8 +622,8 @@ class MalwareScanner private function report($start, $dir) { $end = time(); - echo 'Start time: ' . strftime('%Y-%m-%d %H:%M:%S', $start) . PHP_EOL; - echo 'End time: ' . strftime('%Y-%m-%d %H:%M:%S', $end) . PHP_EOL; + echo 'Start time: ' . date('Y-m-d H:m:s', $start) . PHP_EOL; + echo 'End time: ' . date('Y-m-d H:m:s', $end) . PHP_EOL; echo 'Total execution time: ' . ($end - $start) . PHP_EOL; echo 'Base directory: ' . $dir . PHP_EOL; echo 'Total directories scanned: ' . $this->stat['directories'] . PHP_EOL;