diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-10-02 07:13:29 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-10-02 07:13:29 +0300 |
commit | a2f71ab833b60076e8cfceec9b18e76f74458e94 (patch) | |
tree | da3acefffc6a0ef9dbb534f5cdb9b0b7e37c4a3e /plugins/Annotations | |
parent | 38fbe34d4dd8ba7fa3897461b61098d4b3a83252 (diff) | |
parent | 1c49540fc8f259e05dd838bb4a3f7cf3b26078dc (diff) |
Merge pull request #8856 from piwik/dateformats
Improve date & time formats
Diffstat (limited to 'plugins/Annotations')
-rwxr-xr-x | plugins/Annotations/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Annotations/Controller.php b/plugins/Annotations/Controller.php index 9a777050f1..2572864a80 100755 --- a/plugins/Annotations/Controller.php +++ b/plugins/Annotations/Controller.php @@ -78,7 +78,7 @@ class Controller extends \Piwik\Plugin\Controller $view->selectedDate = $endDate->toString(); } - $dateFormat = Piwik::translate('CoreHome_ShortDateFormatWithYear'); + $dateFormat = Date::DATE_FORMAT_SHORT; $view->startDatePretty = $startDate->getLocalized($dateFormat); $view->endDatePretty = $endDate->getLocalized($dateFormat); |