mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #411 from lekoala/patch-1
remove i18n formatting in links
This commit is contained in:
commit
9f09218da2
@ -113,12 +113,12 @@ class BlogArchiveWidget extends Widget
|
||||
$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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user