Improve date format method compatiability for PHP 8.1

This commit is contained in:
michaelkotlyar
2023-06-12 16:12:11 +12:00
parent 5cebaf9227
commit 755dcf8152

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);
}