diff options
Diffstat (limited to 'plugins/CoreHome/angularjs/common/services/piwik.js')
-rw-r--r-- | plugins/CoreHome/angularjs/common/services/piwik.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/angularjs/common/services/piwik.js b/plugins/CoreHome/angularjs/common/services/piwik.js index 3f6c2682bd..57bc0b580a 100644 --- a/plugins/CoreHome/angularjs/common/services/piwik.js +++ b/plugins/CoreHome/angularjs/common/services/piwik.js @@ -38,8 +38,8 @@ piwik.period = period; var dateRange = piwikPeriods.parse(period, date).getDateRange(); - piwik.startDateString = $.datepicker.formatDate('yy-mm-dd', dateRange[0]); - piwik.endDateString = $.datepicker.formatDate('yy-mm-dd', dateRange[1]); + piwik.startDateString = piwikPeriods.format(dateRange[0]); + piwik.endDateString = piwikPeriods.format(dateRange[1]); updateDateInTitle(date, period); |