From 4de71445d3d174b5ef3462a1c4470a95cc00017e Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 19 Jun 2015 20:13:31 +0200 Subject: 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. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 9561f63b..7e94fd24 100644 --- a/index.php +++ b/index.php @@ -1228,7 +1228,7 @@ function showDaily() $PAGE->assign('linksToDisplay',$linksToDisplay); $PAGE->assign('linkcount',count($LINKSDB)); $PAGE->assign('cols', $columns); - $PAGE->assign('day',utf8_encode(strftime('%A %d, %B %Y',linkdate2timestamp($day.'_000000')))); + $PAGE->assign('day',linkdate2timestamp($day.'_000000')); $PAGE->assign('previousday',$previousday); $PAGE->assign('nextday',$nextday); $PAGE->renderPage('daily'); -- cgit v1.2.3