Mautic Community Forums

Date last modified on "Reports" shows UTC timezone

Your software
My Mautic version is :2.15.2
My PHP version is: 7.0.33

Your problem
My problem is:
“Date last modified” on “Reports” shows UTC timezone after upgrading Mautic.
I want “Date last modified” show Asia/Tokyo timezone (UTC+9).
How can I set Asia/Tokyo timezone in “Date last modified” on “Reports”?

My Mautic and php configurations are below.

Systeminfo on Mautic:
Timezone Database internal
Default timezone UTC
date.timezone Asia/Tokyo Asia/Tokyo

php.ini on my Linux server:
date.timezone = Asia/Tokyo

2 Likes

You have to setup the timezone in the VPS and restart the server if you are using a VPS

What’s the timezone under Settings/Configuration?

I am using EC2 and OS is Ubuntu.
Timezone looks to be setup correctly as Asia/Tokyo. “timedatectl” command result on my server is below;

$ timedatectl
Local time: Tue 2019-10-29 19:06:44 JST
Universal time: Tue 2019-10-29 10:06:44 UTC
RTC time: Tue 2019-10-29 10:06:44
Time zone: Asia/Tokyo (JST, +0900)
Network time on: yes
NTP synchronized: no
RTC in local TZ: no

This is the timezone under Settings/Configuration.

1 Like