1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 23:01:28 +00:00

replace strftime with date

This commit is contained in:
David Edler
2021-11-30 22:07:11 +01:00
parent 14027ae04e
commit 72e21f89ce
3 changed files with 3 additions and 3 deletions

View File

@@ -920,7 +920,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);