Merge pull request #320 from catalyst/date-format-support-php8.1

Improve date format method compatiability for PHP 8.1
This commit is contained in:
Dan Marsden
2023-06-13 10:22:51 +12:00
committed by GitHub

View File

@@ -129,7 +129,7 @@ class waitforit extends clibase {
return;
}
$time = strftime('%F %T %Z');
$time = date('Y-m-d H:i:s T', time());
printf("[%s] %s\n", $time, $message);
}