End date 'year' is smaller than start date

Home Forums Calendar Products Events Calendar PRO End date 'year' is smaller than start date

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #245071
    Andrew
    Participant

    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

    #245098
    Andrew
    Participant

    It 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 bad

    #245599
    Barry
    Member

    Hi – 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!

    #247298
    Andrew
    Participant

    Hello 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

    #247987
    Barry
    Member

    Glad 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!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘End date 'year' is smaller than start date’ is closed to new replies.