[Solved] Conflict with Event Espresso 4
edited November 2015 in Newsletter plugin
Hi, when I activate Newsletter plugin EE4 shows all event time +1h. Deactivate Newsletter everything is o.k. with event time displayed in EE4.
What can that be?
Is there a problem with daylight saving time in the Newsletter plugin? It seem everything was o.k. before change of time to wintertime on 25th Nov.
Here is what the Event Espresso Support says:
November 5, 2015 at 5:12 am
I had a look at that plugin and can see it is using date_default_timezone_set() which is what is causing the problem.
WordPress expects the default timezone to always be UTC, once you change that, strange things start happening to anything that uses Dates, as EE is heavily reliant on date working correctly it shows up more, but the cause is the use of that function.
A couple of examples explain this can be found here:
Unfortunately there is no quick fix, if may be possible to just comment out that code from the plugin until the author can add a proper fix, although you will need to check with them if this would work.
Please refer to the original discussion about this: http://tribulant.com/forums/discussion/2164/conflict-with-event-espresso-4#Item_4