It seems that I cannot activate Newsletter without it causing the times displayed on my calendar events to show as several hours too early! This seems to be a problem with how Newsletter handles times. See below:
Thanks for any help.
If the solution is to comment out a code, could someone very precisely explain to me how that is done? What line(s) of code do I look for? What do I type to comment it out? Will this cause problems with the Newsletter plugin?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:
https://weston.ruter.net/2013/04/02/do-not-change-the-default-timezone-from-utc-in-wordpress/
https://vip.wordpress.com/documentation/vip-development-tips-tricks/use-current_time-not-date_default_timezone_set/
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.
Thanks for any help.