Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2015-07-04 22:40:13 +0300
committersgiehl <stefan@piwik.org>2015-09-25 21:07:47 +0300
commit417880459ca14234d3fe1e811bf622b12f1ab57b (patch)
tree41bf9d374c6349591afae4e72b35391be1983b5b /plugins/Annotations
parent557c1b9bad6c7f7119dba49243eb641a9eb70778 (diff)
use new date/time formats; use updated internal names
Diffstat (limited to 'plugins/Annotations')
-rwxr-xr-xplugins/Annotations/Controller.php2
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);