From aaebe55456b34b878b7bcccef021af7f2c8d3a75 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 1 Dec 2021 13:37:25 +0300 Subject: Revert "replace strftime with date" This reverts commit 72e21f89ce2465fafc08a92dc2d216b55f355f28. --- 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 bcf049a9b..b886a060c 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -920,7 +920,7 @@ class RSSUtils { $entry_timestamp = time(); } - $entry_timestamp_fmt = date("Y/m/d H:i:s", $entry_timestamp); + $entry_timestamp_fmt = strftime("%Y/%m/%d %H:%M:%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