aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-11-15 12:05:08 +0100
committerArthurHoaro <arthur@hoa.ro>2020-11-15 12:05:08 +0100
commit2883c6d0a71db174ee8df7548178a8fbee486e25 (patch)
treec87ffa62e71463a917fb4c5960f25c84b379a885 /application/front
parent6f9e0609f4c118142504234ebcc7d93456b5e588 (diff)
downloadShaarli-2883c6d0a71db174ee8df7548178a8fbee486e25.tar.gz
Shaarli-2883c6d0a71db174ee8df7548178a8fbee486e25.tar.zst
Shaarli-2883c6d0a71db174ee8df7548178a8fbee486e25.zip
Daily RSS - Remove relative description (today, yesterday)
It is not useful for the RSS feed, as every new entry will be 'yesterday', and it requires an update the next day.
Diffstat (limited to 'application/front')
-rw-r--r--application/front/controller/visitor/DailyController.php2
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 ];