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:
authorMatthieu Aubry <matt@piwik.org>2015-10-02 07:13:29 +0300
committerMatthieu Aubry <matt@piwik.org>2015-10-02 07:13:29 +0300
commita2f71ab833b60076e8cfceec9b18e76f74458e94 (patch)
treeda3acefffc6a0ef9dbb534f5cdb9b0b7e37c4a3e /plugins/Annotations
parent38fbe34d4dd8ba7fa3897461b61098d4b3a83252 (diff)
parent1c49540fc8f259e05dd838bb4a3f7cf3b26078dc (diff)
Merge pull request #8856 from piwik/dateformats
Improve date & time formats
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);