From 20e71992ced2b56434096b45e1e16feb91e5d418 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 18 Nov 2009 16:27:32 -0700 Subject: [PATCH] Ticket #6988: Display date formats in user's timezone --- imp/lib/Application.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/imp/lib/Application.php b/imp/lib/Application.php index b53f67341..e53a2dae1 100644 --- a/imp/lib/Application.php +++ b/imp/lib/Application.php @@ -430,6 +430,12 @@ class IMP_Application extends Horde_Registry_Application $this->_prefsPrepareSourceselect(); break; + case 'display': + /* Set the timezone on this page so the 'time_format' output uses + * the configured time zone's time, not the system's time zone. */ + Horde_Nls::setTimeZone(); + break; + case 'flags': Horde::addScriptFile('colorpicker.js', 'horde'); Horde::addScriptFile('flagprefs.js', 'imp'); -- 2.11.0