aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2015-06-19 20:13:31 +0200
committerArthurHoaro <arthur@hoa.ro>2015-06-19 20:23:58 +0200
commit4de71445d3d174b5ef3462a1c4470a95cc00017e (patch)
treea41380398d1af5a190753e518cf7f4b990f0f755 /index.php
parentcbecab773526b0c39f3cffa1d4595b5caa781bda (diff)
downloadShaarli-4de71445d3d174b5ef3462a1c4470a95cc00017e.tar.gz
Shaarli-4de71445d3d174b5ef3462a1c4470a95cc00017e.tar.zst
Shaarli-4de71445d3d174b5ef3462a1c4470a95cc00017e.zip
Daily page: date format in template
It only concerns the date of the day in the main title. Fixes #182 Note that daily RSS feed is not generated through templates. Date are still hard formatted in that case.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9561f63b..7e94fd24 100644
--- a/index.php
+++ b/index.php
@@ -1228,7 +1228,7 @@ function showDaily()
1228 $PAGE->assign('linksToDisplay',$linksToDisplay); 1228 $PAGE->assign('linksToDisplay',$linksToDisplay);
1229 $PAGE->assign('linkcount',count($LINKSDB)); 1229 $PAGE->assign('linkcount',count($LINKSDB));
1230 $PAGE->assign('cols', $columns); 1230 $PAGE->assign('cols', $columns);
1231 $PAGE->assign('day',utf8_encode(strftime('%A %d, %B %Y',linkdate2timestamp($day.'_000000')))); 1231 $PAGE->assign('day',linkdate2timestamp($day.'_000000'));
1232 $PAGE->assign('previousday',$previousday); 1232 $PAGE->assign('previousday',$previousday);
1233 $PAGE->assign('nextday',$nextday); 1233 $PAGE->assign('nextday',$nextday);
1234 $PAGE->renderPage('daily'); 1234 $PAGE->renderPage('daily');