1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 00:25:56 +00:00

Replace deprecated strftime

This commit is contained in:
Felix Eckhofer
2022-02-03 16:13:01 +01:00
parent 4e35c44add
commit cc30198b3d
3 changed files with 3 additions and 3 deletions

View File

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