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/PrivacyManager | |
parent | 38fbe34d4dd8ba7fa3897461b61098d4b3a83252 (diff) | |
parent | 1c49540fc8f259e05dd838bb4a3f7cf3b26078dc (diff) |
Merge pull request #8856 from piwik/dateformats
Improve date & time formats
Diffstat (limited to 'plugins/PrivacyManager')
-rw-r--r-- | plugins/PrivacyManager/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PrivacyManager/Controller.php b/plugins/PrivacyManager/Controller.php index 3f34c1829b..c385f84376 100644 --- a/plugins/PrivacyManager/Controller.php +++ b/plugins/PrivacyManager/Controller.php @@ -279,7 +279,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin $deleteDataInfos["nextScheduleTime"] = $nextPossibleSchedule; } else { $deleteDataInfos["lastRun"] = $optionTable; - $deleteDataInfos["lastRunPretty"] = Date::factory((int)$optionTable)->getLocalized('%day% %shortMonth% %longYear%'); + $deleteDataInfos["lastRunPretty"] = Date::factory((int)$optionTable)->getLocalized(Date::DATE_FORMAT_SHORT); //Calculate next run based on last run + interval $nextScheduleRun = (int)($deleteDataInfos["lastRun"] + $deleteDataInfos["config"]["delete_logs_schedule_lowest_interval"] * 24 * 60 * 60); |