Mautic Community Forums

The dates of the pause period will be shifted to the previous day by saving and displaying

Your software
My Mautic version is: 2.15.3, 2.16.2
My PHP version is: 7.2.27, 7.2.29

Initially I used Mautic 2.15.3 on Amazon EC2, which is originally installed by me, but then I confirmed that this issue also occurs with Mautic 2.16.2 (Bitnami Mautic Stack for AWS Cloud).

Your problem
My problem is:
Each time I save and display a pause period using the contact preference center, both the start date and end date will be shifted to the previous day. As a premise, I have set the time zone “Asia/Tokyo” that is ahead of UTC in the system environment. I changed the timezone in Ubuntu, PHP, MySQL.

Initially I used Mautic 2.15.3, but then I confirmed that this issue also occurs in Mautic 2.16.2.

How could I solve this issue? If it is a bug, are there any workarounds?
Is this issue related to the following request?

But, I would like to handle it in Mautic 2 versions.

First of all, I set the pause period in May as below:

When reopened, the pause period was as below (I did not push the save button this time):

The values of datetime columns both “pause_from_date” and “pause_to_date” are 9 hours behind 00:00.

These errors are showing in the log:
There’s nothing special.

Steps I have tried to fix the problem:
I have confirmed the time zone settings.
(1) Ubuntu

(2) MySQL
The global and session time zone values:

(3) PHP
in the configuration file “php.ini”:

Settings > System Info > PHP Info

(4) Mautic
Settings > Configuration > System Settings