diff options
author | ArthurHoaro <arthur@hoa.ro> | 2015-06-19 20:13:31 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2015-06-19 20:23:58 +0200 |
commit | 4de71445d3d174b5ef3462a1c4470a95cc00017e (patch) | |
tree | a41380398d1af5a190753e518cf7f4b990f0f755 /index.php | |
parent | cbecab773526b0c39f3cffa1d4595b5caa781bda (diff) | |
download | Shaarli-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'); |