Posted: June 17, 2014 at 3:05 pm
|
Hello. I have noticed an issue when I edit events. Essentially everytime I hit save on an event, The event time seems to get modified based on what could be a UTC offset of some sort. My steps to reproduce the problem are as follows. Versions Other Plugins of note |
Hello, One of the calendar plugins could be contributing to this issue. Try temporarily deactivating them and creating a test event/new event and see if the issue continues. — |
|
|
None of those affected the issue, but I left one out. The plugin Thanks |
|
Hi, Well, I can confirm that that AMR plugin is indeed causing the issue. It also makes no difference if you use UTC-5 or Chicago as the timezone. JavaScript does not seem to be an issue. The plugins also do not share even similar field names. I narrowed down the issue to the function amr_set_defaults_for_datetime() in amr-ical-events-list/includes/amr-ical-config.php I cannot make sense of what it is doing or how it is affecting our functions, but that function is definitely causing the issue as removing the code from it makes everything work in EE. |
|
Dean, I forwarded your comments to the developer of the AMR plugin and I have pasted his response below. Noteworthy point is that the plugin does set a “default’ timezone for pages and he asked if EE had a means to set the timezone for the plugin (which some threads he alluded to seemed to suggest but perhaps in the 3.x version… I’m not sure. If you could read through this and give me your thoughts i would appreciate it. ” Ical events Plugin looks for either gmt_offset or actual timezone in a sites wordpress options. If not found it will use the php default for your server. This should be in sync with what wordpress uses for posts etc so post dates and event dates will make sense together. So I’m guessing here but one possibility is that event espresso perhaps uses some other timezone (maybe UTC ?) and is not grabbing the wordpress or php timezone? and then may be that maybe somehow the plugins are loading in different sequences at different times and sometimes mine has set the default before ee gets loaded and sometimes not? or maybe its a save vs dispaly thing? And maybe if EE is not particularly specifying a timezone somewhere, then things could get confusing. To fix: wp and ee should use the same timezone. (My plugin will use what wp is using, so that should fix any discrepancy). Other recent EE timezone posts: |
Hello, Our lead developer shared feedback on your post on the WordPress.org forums: https://wordpress.org/support/topic/plugin-is-conflicting-with-event-espresso Hope this helps! — |
|
|
i had similar issue ..it was one of the countdown plugin that caused this issue. |
|
Hi @Sudhir. It could be a similar issue. If you are still having problems, you can create a fresh forum thread and we can look into it further. @Midsouth Fly Fishers please let us know how you get on with the responses that were posted on https://wordpress.org/support/topic/plugin-is-conflicting-with-event-espresso |
|
Thanks Guys. I think the feedback on the other thread is proving to be very helpful. And thank you for your willingness to troubleshoot problems of this nature. I feel that at this point, the issue is identified based on the responses of the thread indicated above, and a full resolution is forthcoming. I am probably going to wait for a few days prior to marking this thread as resolved, just in case I need to add any notes to the thread. Thanks to everyone for their assistance. |
|
I received an update copy of the AMR plugin (4.7) and the issue is resolved in that version. Thanks again for all of your help. |
The support post ‘Event Time modified on Save’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.