projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f52cfe
)
Ticket #6988: Display date formats in user's timezone
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 18 Nov 2009 23:27:32 +0000
(16:27 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 18 Nov 2009 23:27:32 +0000
(16:27 -0700)
imp/lib/Application.php
patch
|
blob
|
history
diff --git
a/imp/lib/Application.php
b/imp/lib/Application.php
index
b53f673
..
e53a2da
100644
(file)
--- 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');