[imp] timezone setting

Jan Schneider jan@horde.org
Wed Oct 23 09:52:57 2002


Zitat von Liam Hoekenga <liamr@umich.edu>:

> I've got this stanza in my prefs.php:
> 
> $_prefs['timezone'] = array(
>     'value' => 'America/Detroit',
>     'locked' => true,
>     'shared' => true,
>     'type' => 'select',
>     'desc' => _("Your current time zone:")
> );
> 
> Yet, all of my mail is coming from the +0100 timezone instead of the
> -0400 timezone.
> 
> "America/Detroit" is a valid setting in horde/config/lang.php. Where does
> that
> correspond w/something "real"?  (How does Horde know that
> "America/Detroit" is
> supposed to be -0400)?

Horde doesn't know, but your system should know after we set the TZ
environment variable to this value.
I really have no idea why this doesn't work. Does it work if you don't lock
the preference but set the timezone individually?

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft