[RCU] Default timezone for users

Thomas Harold thomas-lists at nybeta.com
Thu Aug 11 17:15:40 CEST 2011


On 8/11/2011 8:23 AM, A.L.E.C wrote:
> On 11.08.2011 14:07, Thomas Harold wrote:
>
>> $rcmail_config['timezone'] = 'America/New_York';
>
>> Does Roundcube not understand 'America/New_York'?
>
> Yes, it doesn't. You must use numeric value, -5.
>

Thanks, that was indeed it.

Alternately, I was able to set things in php.ini:

date.timezone = "America/New_York"

With Roundcube set back to 'auto':

$rcmail_config['timezone'] = 'auto';
$rcmail_config['dst_active'] = (bool)date('I');

And it is now picking up the correct timezone for new users, without 
them having to manually configure it.
-- 
List info: http://lists.roundcube.net/users/
BT/9b404e9e



More information about the users mailing list