summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
diff options
context:
space:
mode:
authorDavid Edler <[email protected]>2021-11-30 22:07:11 +0100
committerDavid Edler <[email protected]>2021-11-30 22:07:11 +0100
commit72e21f89ce2465fafc08a92dc2d216b55f355f28 (patch)
treecd3134c15776e6cef62205c0e382bd2ed40d0de6 /classes/rssutils.php
parent14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09 (diff)
replace strftime with date
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-xclasses/rssutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index b886a060c..bcf049a9b 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -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);