From: Michael M Slusarz Date: Wed, 18 Nov 2009 23:27:32 +0000 (-0700) Subject: Ticket #6988: Display date formats in user's timezone X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=20e71992ced2b56434096b45e1e16feb91e5d418;p=horde.git Ticket #6988: Display date formats in user's timezone --- 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');