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/PrivacyManager | |
parent | 557c1b9bad6c7f7119dba49243eb641a9eb70778 (diff) |
use new date/time formats; use updated internal names
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); |