1

Topic: iredmail pro showing wrong timezone

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6 MYSQL edition
- Linux/BSD distribution name and version: ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

In iRedmail Pro  web portal System settings  timezone for Australia/Sydney is GMT+11
This is Daylight Savings Time and the timezone has changed.  There does not appear to be an option on the dropdown menu for GMT +10

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iredmail pro showing wrong timezone

it's supposed to convert timestamp with DST detection. Does it work if you use GMT+11 as time zone?

3

Re: iredmail pro showing wrong timezone

ZhangHuangbin wrote:

it's supposed to convert timestamp with DST detection. Does it work if you use GMT+11 as time zone?

It converts time in IRedmail Pro Portal  to DST  (GMT +11) and there is no option to change it to GMT +10  DST is finished.

4

Re: iredmail pro showing wrong timezone

Could you please show me command output on your server?

$ python -c "import time; print time.localtime().tm_isdst"

5

Re: iredmail pro showing wrong timezone

Try this:

- Open file "libs/languages.py", find line:

    'Australia/Sydney': 'GMT+11:00',

- Change it to 'GMT+10:00'.
- Restart uwsgi service to reload the change.

Seems GMT+10:00 is the right time zone, and it will automatically detect DST when it's 1 Oct 2017.

6

Re: iredmail pro showing wrong timezone

ZhangHuangbin wrote:

Try this:

- Open file "libs/languages.py", find line:

    'Australia/Sydney': 'GMT+11:00',

- Change it to 'GMT+10:00'.
- Restart uwsgi service to reload the change.

Seems GMT+10:00 is the right time zone, and it will automatically detect DST when it's 1 Oct 2017.

Thanks Zhang,
That worked

7

Re: iredmail pro showing wrong timezone

Fixed in iRedAdmin-Pro too. smile