diff options
author | Felix Eckhofer <[email protected]> | 2022-02-03 16:13:01 +0100 |
---|---|---|
committer | Felix Eckhofer <[email protected]> | 2022-02-03 16:13:01 +0100 |
commit | cc30198b3db8b118e381d0a1d3c5131d21c23449 (patch) | |
tree | a153ad3b14655538110a0a17e0434e97290a0659 /classes/rssutils.php | |
parent | 4e35c44add23791d6dc886bf71b325948e55b61a (diff) |
Replace deprecated `strftime`
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-x | classes/rssutils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php index 6f1d52c05..d7284a7bc 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -921,7 +921,7 @@ class RSSUtils { $entry_timestamp = time(); } - $entry_timestamp_fmt = strftime("%Y/%m/%d %H:%M:%S", $entry_timestamp); + $entry_timestamp_fmt = date("Y/m/d H:i:s", $entry_timestamp); Debug::log("date: $entry_timestamp ($entry_timestamp_fmt)", Debug::LOG_VERBOSE); Debug::log("num_comments: $num_comments", Debug::LOG_VERBOSE); |