diff options
author | sgiehl <stefan@piwik.org> | 2015-07-04 22:40:13 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-09-25 21:07:47 +0300 |
commit | 417880459ca14234d3fe1e811bf622b12f1ab57b (patch) | |
tree | 41bf9d374c6349591afae4e72b35391be1983b5b /plugins/Annotations | |
parent | 557c1b9bad6c7f7119dba49243eb641a9eb70778 (diff) |
use new date/time formats; use updated internal names
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); |