Mautic Community Forums

Filled in contact fields(Date / Time type) is different from the actual display

Your software
My Mautic version is:2.16.0
My PHP version is: 7.3.15

Your problem
My problem is:Filled in contact fields(Date / Time type) is different from the actual display
Contact field fill in value

actual display contact field

The difference is eight hours, but my time zone is set uniformly, I do n’t know why.

If you have any trouble knowing, thank you.

My Mautic and php configurations are below.

Systeminfo timezone on my mautic:Asia/Shanghai
Admin account timezone :Asia/Shanghai
php.ini on my Linux server:date.timezone = Asia/Shanghai

Hi,

What is the timezone setup on mautic configuration?
Also does the profile have a time zone configured?

This is how it looks for ours

image


And this is the configuration page

Thanks for replying, there is still a problem setting up according to your method.



Can anyone help look at this problem?

Same problem here:
New contact/lead added via a form.

Here is the data I entered in the form, which is correctly reflected in the table mau_leads. Here the data from a sql query from table mau_leads:
Date Last Active (autofilled): 2020-04-01 23:11:20
webinarzeit (custom field time): 23:30:00
webinar ziet & datum (custom field datetime): 2020-04-01 23:30:00

Opening the contact/lead in Mautic:
Date Last Active (autofilled): 2020-04-01 23:11:20
webinarzeit (custom field time): 0:30:00 => showing +1 hour
webinar ziet & datum (custom field datetime): 2020-04-02 1:30:00 => showing +2 hours

I also added the timezone to the record, no difference.

There are some bugs regarding time.

Anyone any idea?

Hi,

Now that the UK changed to british summer time I can also see the issue and it looks like is bug.
The edit mode binds the converted date but the display one bind the UTC one which is guess is the one saved on the database.

You can report this here