diff --git a/code/pages/NewsHolder.php b/code/pages/NewsHolder.php index 75ca2e7..dd7a7f5 100644 --- a/code/pages/NewsHolder.php +++ b/code/pages/NewsHolder.php @@ -200,7 +200,7 @@ public function getPartitionedHolderForArticle($article) { } $year = date('Y', strtotime($date)); - $month = date('M', strtotime($date)); + $month = ucfirst(strftime('%b', strtotime($date))); $day = date('d', strtotime($date)); $yearFolder = $this->dateFolder($year); @@ -305,4 +305,4 @@ function Rss() { $this->response->addHeader('Content-Type', 'application/rss+xml'); return $rss->outputToBrowser(); } -} \ No newline at end of file +}