From 0514391fde39a6876c2f9f7631006209e7b8ddef Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 16 Jun 2011 15:14:14 +0000 Subject: [PATCH] Show time values in user time --- etemplate/inc/class.historylog_widget.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etemplate/inc/class.historylog_widget.inc.php b/etemplate/inc/class.historylog_widget.inc.php index 3667dd30a9..ec8d0d343d 100644 --- a/etemplate/inc/class.historylog_widget.inc.php +++ b/etemplate/inc/class.historylog_widget.inc.php @@ -116,6 +116,11 @@ class historylog_widget $cell['type'] = 'select'; } } + // For all times, show time in user time + elseif ($type == 'date-time' && $value) + { + $value = egw_time::server2user($value); + } if ($cell['type'] == 'label') $cell['no_lang'] = 'true'; return true; }