Home › Forums › Calendar Products › Events Calendar PRO › End date 'year' is smaller than start date
- This topic has 4 replies, 2 voices, and was last updated 9 years, 10 months ago by Barry.
-
AuthorPosts
-
June 23, 2014 at 1:00 pm #245071AndrewParticipant
Hello MT,
I’ve upgraded TEC/ECP 3.4.1 to 3.6.1 and everything is working well. Except for the List Widget and recurring events. Single events properly show in ‘month, day and time’ format. But recurring events include a ‘year’ after the month.
I have added a few debug calls at line 904 of template-tags/general.php to find that tribe_get_start_date() returns the correct 2014 year but tribe_get_end_date() returns 2013. Could this be related to the upgrade process from 3.4 to 3.6?
As a short term workaround I can disable the logic that checks for events that span years.
-Drew
June 23, 2014 at 1:16 pm #245098AndrewParticipantIt appears that end month (and time?) is also corrupted:
tribe_get_start_date – tribe_get_end_date
2014-06-28EDT03:15 – 2014-06-07EDT03:45
2014-06-29EDT09:00 – 2014-03-30EDT10:00
2014-06-29EDT11:30 – 2013-11-24EDT12:30 bad
2014-06-29EDT02:30 – 2014-06-29EDT04:30
2014-07-03EDT04:00 – 2013-12-12EDT09:30 badJune 23, 2014 at 5:15 pm #245599BarryMemberHi – sorry to hear you’re experiencing difficulties.
Can you link me to a live example of the problem (I see you provided a URL but even stripping away the comment in brackets it doesn’t seem to resolve)? I’d also love to know what your WordPress date and time format settings are and what date formats are set up in the Events > Settings > Display admin screen.
Last but by no means least, could you try deactivating all other plugins except for The Events Calendar/Events Calendar PRO and – at the same time – switch to a default, completely unmodified theme such as Twenty Thirteen and check if this issue still persists under those conditions?
Thanks!
June 24, 2014 at 8:42 am #247298AndrewParticipantHello Barry,
This appears to be a false alarm caused by my upgrade process.
In stead of doing an incremental upgrade 3.4 -> 3.5 -> 3.6, I went directly to 3.6. This is how the end year got messed up for recurring events?
That said, on a clean WP install, 2013 theme, TEC/ECP 3.4, no other plugins, the incremental upgrade with 3.5 tribe-cleanup.php.zip worked – all database events show the correct ‘end year’ and the List Widget no longer shows the year as mentioned in OP.
Thanks for your detailed triage plan.
-Cheers
June 24, 2014 at 12:41 pm #247987BarryMemberGlad you figured things out (and apologies for any inconvenience along the way) 🙂
I’ll go ahead and close this thread as you marked it resolved – but of course if we can assist with anything else please don’t hesitate to create new threads as needed.
Thanks!
-
AuthorPosts
- The topic ‘End date 'year' is smaller than start date’ is closed to new replies.