diff options
author | Andrew Dolgov <[email protected]> | 2021-12-01 13:37:35 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-12-01 13:37:35 +0300 |
commit | a201e10ee024f03fb6aad0ec1069cc4da72a9ac5 (patch) | |
tree | 1d0c5549390541694721e5d85e35f509feccc4ee /classes/debug.php | |
parent | aaebe55456b34b878b7bcccef021af7f2c8d3a75 (diff) |
Revert "various fixes vor php 8.1 compatibility"
This reverts commit 14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09.
Diffstat (limited to 'classes/debug.php')
-rw-r--r-- | classes/debug.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/debug.php b/classes/debug.php index 1b9d499e5..e20126b86 100644 --- a/classes/debug.php +++ b/classes/debug.php @@ -88,7 +88,7 @@ class Debug { if (!self::$enabled || self::$loglevel < $level) return false; - $ts = date("%H:%M:%S", time()); + $ts = strftime("%H:%M:%S", time()); if (function_exists('posix_getpid')) { $ts = "$ts/" . posix_getpid(); } |