diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-10-22 03:03:27 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-10-22 03:03:44 +0300 |
commit | 1218a22e3b6be6c88898d721ca0d281cc47fe3d0 (patch) | |
tree | 8b666450985252f1e85dcc772f1f6750871ef417 /core/Plugin/Visualization.php | |
parent | 19a822408abd41d3ff14cffb5577f2d0a3279a48 (diff) |
Append UTC to generated datetime
it would be better to convert the datetime to website timezone https://github.com/piwik/piwik/issues/9076
Diffstat (limited to 'core/Plugin/Visualization.php')
-rw-r--r-- | core/Plugin/Visualization.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php index 0fbe859dd0..8a35a971b2 100644 --- a/core/Plugin/Visualization.php +++ b/core/Plugin/Visualization.php @@ -473,7 +473,8 @@ class Visualization extends ViewDataTable $prettyDate = $date->getLocalized(Date::DATE_FORMAT_SHORT); - return Piwik::translate('CoreHome_ReportGeneratedOn', $prettyDate); + $timezoneAppend = ' (UTC)'; + return Piwik::translate('CoreHome_ReportGeneratedOn', $prettyDate) . $timezoneAppend; } /** |