# Wrong scheduling times possibly related to outdated DST info

**URL:** <https://forum.mautic.org/t/wrong-scheduling-times-possibly-related-to-outdated-dst-info/21686>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [November 19, 2021, 1:58pm UTC](https://forum.mautic.org/t/wrong-scheduling-times-possibly-related-to-outdated-dst-info/21686 "2021-11-19T13:58:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nunks](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nunks/32/1648_2.png) [@nunks](https://forum.mautic.org/u/nunks)\
**Post date:** [November 19, 2021, 1:58pm UTC](https://forum.mautic.org/t/wrong-scheduling-times-possibly-related-to-outdated-dst-info/21686/1 "2021-11-19T13:58:02Z")

</div>

**Your software**  
My Mautic version is: 4.0.2  
My PHP version is: 7.4.11  
My Database type and version is: MariaDB 10.5.12

**Your problem**  
My problem is I live in the “America/Sao Paulo” timezone, and Mautic is sending emails one hour earlier than the intended scheduling time, as if we were in Daylight Savings Time, but we aren’t. My Mautic user timezone is set to America/Sao Paulo, and my local computer time is also in UTC-3, but all server related software is set to UTC time.

**These errors are showing in the log:**  
No errors that seem related to this are showing in my logs, just some “Full authentication is required to access this resource.” authentication errors, probably because I keep my sessions open long after they expire…

**Steps I have tried to fix the problem:**  
A quick workaround is to schedule emails to send one hour late, but this could lead to erratic behavior in the long run, since I don’t know why Mautic thinks I am in DST nor when it will stop doing it. This problem started to happen recently (late October, I think), so it will _probably_ keep happening until February, as it seems to be related to the fact that Brazil stopped having DST since 2019. Maybe Mautic uses some outdated internal “zoneinfo” database?

I took a screenshot with the dates in various places where it could be going wrong, to try to figure out where Mautic is getting this “DST” info, but it seems to be all normal. Note that the scheduler dialog allows me to select the time I want, but when I save it Mautic instantly reverts to 1 hour earlier:

 ![mautic-wrong-time](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/9642763810624037fdf81e37b8aacf158e3e776a.png)

Also, other brazilians seem to be experiencing this issue since last year, across different Mautic versions:

> <https://github.com/mautic/mautic/issues/9616>
>
> \[//\]: # ( Invisible comment: 
> IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII…I
> Before you create the issue:
> IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
> Search for similar report among other reported issues.
> Learn how to troubleshoot at https://www.mautic.org/docs/en/tips/troubleshooting.html
> Use drag&drop to attach images or other files )
> 
> \## Bug Description
> The more details the better...
> 
> | Q | A
> | --- | ---
> | Mautic version | 3.2.4 
> | PHP version | 7.3
> | Unix dist | Debian 10
> | Browser | Chrome
> 
> \### Steps to reproduce
> 1. Change the Timezone to America/Sao\_Paulo
> 2. Creatr a new email and set the "Publish at (date/time)" to any hour.
> 3. Activate the email, save. close and go to the email list screen.
> 4. Leave the mouse over the name of this email and see tha schedule program.
> 5. it will be with one hour earlier. 
> 
> \### Daylight daylight saving
> here im Brazil we had summer time, but theres no more. I don´t know of this has any relation...
> 
> 
> !\[chrome\_iiq8xFt4Ou\](https://user-images.githubusercontent.com/20361821/105649703-0bba6a80-5e90-11eb-9498-018e291a0558.png)
> !\[chrome\_gYixLZmNew\](https://user-images.githubusercontent.com/20361821/105649706-0d842e00-5e90-11eb-9382-6853cafa7bbf.png)
> 
> 
> \[//\]: # ( Invisible comment:
> Please check for related errors in the latest log file in \[mautic root\]/app/log/ and/or the web server's logs and post them here. Be sure to remove sensitive information if applicable. )

> [@Wrong scheduling time](https://forum.mautic.org/t/wrong-scheduling-time/12728):
>
> Your software My Mautic version is: 2.15.3 My PHP version is: 7.1 Your problem Hi everyone, When I schedule a new broadcast email (segment broadcast) Mautic deduct one hour. Example: I create an email and set it as published, in ‘Publish at (date/time)’ field I put 2020-02-12 11:00 and in ‘Unpublish at (date/time)’ field I put 2020-02-12 12:00. When I saved this email, Mautic change email to ‘Publish Up: February 12, 2020 10:00 am -03’ and ‘Publish Down: February 12, 2020 11:00 am -03’. I…

---

<div class="post-metadata">

**Author:** ![LordPatrick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lordpatrick/32/433_2.png) [@LordPatrick](https://forum.mautic.org/u/LordPatrick)\
**Post date:** [September 3, 2022, 1:26pm UTC](https://forum.mautic.org/t/wrong-scheduling-times-possibly-related-to-outdated-dst-info/21686/2 "2022-09-03T13:26:27Z")

</div>

I have the same problem in Switzerland with Time Zone Zurich during summer it is UTC + 2 with daylight saving time. The server where Mautic is installed shows the correct time.  
When I schedule an eMail in a Campign to be sent at 19:00 it is sent 1 hour earlier at 18:00!

 ![grafik](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7804ace781663d2658ceb7205880f28ad2f1aa3b.png)

I think for some reason MAUTIC does not consider the daylight saving time.  
Must be a bug?  
Any fix for this?

Of course I could schedule the email 1 hour later but this would be a problem in winter time, because then it would be sent 1 hour too late!

Best reagards from Switzerland  
Patrick

---

<div class="post-metadata">

**Author:** ![LordPatrick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lordpatrick/32/433_2.png) [@LordPatrick](https://forum.mautic.org/u/LordPatrick)\
**Post date:** [September 3, 2022, 1:45pm UTC](https://forum.mautic.org/t/wrong-scheduling-times-possibly-related-to-outdated-dst-info/21686/3 "2022-09-03T13:45:47Z")

</div>

> [@LordPatrick](#):
>
> ame problem in Switzerland with Time Zone Zurich during

I forgot to tell the Software versions:  
Mautic 4.4.1  
PHP 7.4
