diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-12-16 16:04:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 16:04:53 +0100 |
commit | ab4c170672c0679c5b8ebc6065e3ca2b13165f24 (patch) | |
tree | 173cd95c3b6d4972dcc8b003a6a225e8eb8d5f4e /application/front/controller | |
parent | bd11879018416d2c5d87728bb0be6ee0cf54451a (diff) | |
parent | 2883c6d0a71db174ee8df7548178a8fbee486e25 (diff) | |
download | Shaarli-ab4c170672c0679c5b8ebc6065e3ca2b13165f24.tar.gz Shaarli-ab4c170672c0679c5b8ebc6065e3ca2b13165f24.tar.zst Shaarli-ab4c170672c0679c5b8ebc6065e3ca2b13165f24.zip |
Merge pull request #1644 from ArthurHoaro/fix/daily-rss
Daily RSS - Remove relative description (today, yesterday)
Diffstat (limited to 'application/front/controller')
-rw-r--r-- | application/front/controller/visitor/DailyController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/front/controller/visitor/DailyController.php b/application/front/controller/visitor/DailyController.php index 846cfe22..5ae89299 100644 --- a/application/front/controller/visitor/DailyController.php +++ b/application/front/controller/visitor/DailyController.php | |||
@@ -131,7 +131,7 @@ class DailyController extends ShaarliVisitorController | |||
131 | $dataPerDay[$day] = [ | 131 | $dataPerDay[$day] = [ |
132 | 'date' => $endDateTime, | 132 | 'date' => $endDateTime, |
133 | 'date_rss' => $endDateTime->format(DateTime::RSS), | 133 | 'date_rss' => $endDateTime->format(DateTime::RSS), |
134 | 'date_human' => DailyPageHelper::getDescriptionByType($type, $dayDateTime), | 134 | 'date_human' => DailyPageHelper::getDescriptionByType($type, $dayDateTime, false), |
135 | 'absolute_url' => $indexUrl . 'daily?' . $type . '=' . $day, | 135 | 'absolute_url' => $indexUrl . 'daily?' . $type . '=' . $day, |
136 | 'links' => [], | 136 | 'links' => [], |
137 | ]; | 137 | ]; |