Fix bad date formatting

`m` returns minute in hour as seen here : http://userguide.icu-project.org/formatparse/datetime
This commit is contained in:
Martin Portevin 2018-03-20 01:54:08 +01:00 committed by GitHub
parent 049e77227e
commit b483446a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -630,12 +630,12 @@ class BlogPost extends Page
return Controller::join_links(
$this->Parent()->Link('archive'),
$date->format('Y'),
$date->format('m'),
$date->format('M'),
$date->format('d')
);
}
return Controller::join_links($this->Parent()->Link('archive'), $date->format('Y'), $date->format('m'));
return Controller::join_links($this->Parent()->Link('archive'), $date->format('Y'), $date->format('M'));
}
return Controller::join_links($this->Parent()->Link('archive'), $date->format('Y'));