From cc30198b3db8b118e381d0a1d3c5131d21c23449 Mon Sep 17 00:00:00 2001 From: Felix Eckhofer Date: Thu, 3 Feb 2022 16:13:01 +0100 Subject: Replace deprecated `strftime` --- classes/rssutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/rssutils.php') 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); -- cgit v1.2.3