Author Topic: AutoSet TimeZone for Multiple Clients in different time zones  (Read 4193 times)

Offline Coryd

  • Newbie
  • *
  • Posts: 4
Hi,
We have clients within different time zones that are using our roundcube instance. We have removed all configure options in roundCube webmail so clients don't go making stupid changes and to make it simple for them..but ...
users are unable to change their timezone now. Is there a way to set the time zone automatically based on their TimeZone. We are only running 1 instance of roundcube

thanks

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: AutoSet TimeZone for Multiple Clients in different time zones
« Reply #1 on: March 09, 2020, 06:28:27 AM »
the default config is to detect timezone from the browser:
Code: [Select]
// use this timezone to display date/time
// valid timezone identifiers are listed here: php.net/manual/en/timezones.php
// 'auto' will use the browser's timezone settings
$config['timezone'] = 'auto';
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦