diff options
| author | fox <fox@noreply.tt-rss.org> | 2021-12-01 10:52:12 +0300 |
|---|---|---|
| committer | fox <fox@noreply.tt-rss.org> | 2021-12-01 10:52:12 +0300 |
| commit | a72e24343bddbee4aa2b354aabd91b55e33cd71e (patch) | |
| tree | cd3134c15776e6cef62205c0e382bd2ed40d0de6 /classes/rssutils.php | |
| parent | df7b2e79849419fcc278c0549fdf10c094991558 (diff) | |
| parent | 72e21f89ce2465fafc08a92dc2d216b55f355f28 (diff) | |
Merge pull request 'Fixes for php 8.1 compatibility' (#56) from magicDave/tt-rss:php8.1-fixes into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/56
Diffstat (limited to 'classes/rssutils.php')
| -rwxr-xr-x | classes/rssutils.php | 2 |
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); |