mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
Replace deprecated strftime
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user