summaryrefslogtreecommitdiff
path: root/classes/debug.php
diff options
context:
space:
mode:
authorFelix Eckhofer <[email protected]>2022-02-03 16:13:01 +0100
committerFelix Eckhofer <[email protected]>2022-02-03 16:13:01 +0100
commitcc30198b3db8b118e381d0a1d3c5131d21c23449 (patch)
treea153ad3b14655538110a0a17e0434e97290a0659 /classes/debug.php
parent4e35c44add23791d6dc886bf71b325948e55b61a (diff)
Replace deprecated `strftime`
Diffstat (limited to 'classes/debug.php')
-rw-r--r--classes/debug.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/debug.php b/classes/debug.php
index e20126b86..fbdf260e0 100644
--- a/classes/debug.php
+++ b/classes/debug.php
@@ -88,7 +88,7 @@ class Debug {
if (!self::$enabled || self::$loglevel < $level) return false;
- $ts = strftime("%H:%M:%S", time());
+ $ts = date("H:i:s", time());
if (function_exists('posix_getpid')) {
$ts = "$ts/" . posix_getpid();
}