Skip to content

Commit

Permalink
Merge pull request #411 from lekoala/patch-1
Browse files Browse the repository at this point in the history
remove i18n formatting in links
  • Loading branch information
dhensby authored Jul 15, 2016
2 parents 9e117b6 + 2dd5fd8 commit 9f09218
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/widgets/BlogArchiveWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ public function getArchive()
$date->setValue($post->PublishDate);

if ($this->ArchiveType == 'Yearly') {
$year = $date->FormatI18N("%Y");
$year = $date->Format("Y");
$month = null;
$title = $year;
} else {
$year = $date->FormatI18N("%Y");
$month = $date->FormatI18N("%m");
$year = $date->Format("Y");
$month = $date->Format("m");
$title = $date->FormatI18N("%B %Y");
}

Expand Down

0 comments on commit 9f09218

Please sign in to comment.