# Timezone, time format not working

**URL:** <https://forum.mautic.org/t/timezone-time-format-not-working/5367>\
**Category:** Product Support\
**Created:** [September 16, 2016, 3:10pm UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367 "2016-09-16T15:10:54Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mautic\_user](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mautic\_user](https://forum.mautic.org/u/mautic_user)\
**Post date:** [September 16, 2016, 3:10pm UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367/1 "2016-09-16T15:10:54Z")

</div>

Although I changed the timezone in “Configuration” as well as in my own account, it still shows “UTC”. The correct timezone is also entered in php.ini, the server itself has the correct timezone. Why do I still see “UTC” everywhere (for example on the dashboard)?  
  
  
  
Same goes for the time format. I changed all 4 in “Configuration”, but the only one that shows correctly is “full dates”. All the others still show the default format. Why is that?

---

<div class="post-metadata">

**Author:** ![mautic\_user](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mautic\_user](https://forum.mautic.org/u/mautic_user)\
**Post date:** [September 16, 2016, 3:10pm UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367/2 "2016-09-16T15:10:54Z")

</div>

Although I changed the timezone in “Configuration” as well as in my own account, it still shows “UTC”. The correct timezone is also entered in php.ini, the server itself has the correct timezone. Why do I still see “UTC” everywhere (for example on the dashboard)?

Same goes for the time format. I changed all 4 in “Configuration”, but the only one that shows correctly is “full dates”. All the others still show the default format. Why is that?

---

<div class="post-metadata">

**Author:** ![jwrobbs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jwrobbs/32/42_2.png) [@jwrobbs](https://forum.mautic.org/u/jwrobbs)\
**Post date:** [September 16, 2016, 3:18pm UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367/3 "2016-09-16T15:18:21Z")

</div>

Have you looked at this thread?

[https://www.mautic.org/community/index.php/5501-wrong-timestamps-contact-history-vs-last-active](https://www.mautic.org/community/index.php/5501-wrong-timestamps-contact-history-vs-last-active)

---

<div class="post-metadata">

**Author:** ![mautic\_user](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mautic\_user](https://forum.mautic.org/u/mautic_user)\
**Post date:** [September 16, 2016, 3:26pm UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367/4 "2016-09-16T15:26:19Z")

</div>

Thanks for the hint. No, I haven’t seen this thread before. Will this also solve the time format problem?

---

<div class="post-metadata">

**Author:** ![jwrobbs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jwrobbs/32/42_2.png) [@jwrobbs](https://forum.mautic.org/u/jwrobbs)\
**Post date:** [September 16, 2016, 3:28pm UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367/5 "2016-09-16T15:28:17Z")

</div>

I’m not 100% sure. It solved my problem where I had 2 different timezone being displayed throughout the site.

---

<div class="post-metadata">

**Author:** ![Svet\_Zitrka](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@Svet\_Zitrka](https://forum.mautic.org/u/Svet_Zitrka)\
**Post date:** [September 16, 2016, 6:57pm UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367/6 "2016-09-16T18:57:56Z")

</div>

Yes this should solve the problem

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [September 16, 2016, 7:15pm UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367/7 "2016-09-16T19:15:56Z")

</div>

@mautic_user [https://www.mautic.org/community/index.php/5501-wrong-timestamps-contact-history-vs-last-active/p1#p15588](https://www.mautic.org/community/index.php/5501-wrong-timestamps-contact-history-vs-last-active/p1#p15588)

---

<div class="post-metadata">

**Author:** ![solomojo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/solomojo/32/853_2.png) [@solomojo](https://forum.mautic.org/u/solomojo)\
**Post date:** [January 24, 2020, 12:42am UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367/8 "2020-01-24T00:42:44Z")

</div>

That link doesn’t work anymore. Does anyone know where I can find an answer to this question. I’m seeing the same problem in 2.15.3

---

<div class="post-metadata">

**Author:** ![autoize](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/autoize/32/105_2.png) [@autoize](https://forum.mautic.org/u/autoize)\
**Post date:** [January 24, 2020, 1:59am UTC](https://forum.mautic.org/t/timezone-time-format-not-working/5367/9 "2020-01-24T01:59:45Z")

</div>

May be related to this issue

> <https://github.com/mautic/mautic/issues/7033>
>
> Bug Description
> There is a problem with date field used as filter in segment and the timezone.
> Let me give you an example.
> Contact...

  
Weird though because it appears the PR was merged in 2.15.2.  
Trying to [apply the PR](https://autoize.com/applying-testing-mautic-patches-pull-requests/) in 2.15.3 will probably not apply, but may be worth a try.

For some instances, we noticed that some times display as UTC (for example the “upcoming events” to the right of the contact timeline), but timeline events display with the timezone (e.g. America/Los Angeles) specified in Mautic settings. In our case though, both the UTC and PST (UTC-8) times are with the correct offset.

We set all the servers we install to `date.timezone = UTC` in **php.ini**. This is supposed to be a best practice because each PHP application running on a server should have logic to calculate time zone offsets itself.
