Incorrect recurrence dates

Home Forums Calendar Products Events Calendar PRO Incorrect recurrence dates

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1320299
    Sam Davis
    Participant

    When adding a recurring event the the subsequent recurring events are set to the wrong date. Specifically the day before what I chose. This does not happen for all day events.

    My timezones settings are set to “Use the sitewide timezone everywhere”.

    #1320861
    Cliff
    Member

    Hi, Sam.

    Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?

    Once you verify you’re on the latest versions, please test to see if the issue is still happening for you (when creating a new event).

    #1320978
    Sam Davis
    Participant

    Thanks for getting back to me.

    I just went through and made sure everything was updated. The issue is still persisting for me, however.

    Any other thoughts?

    #1321409
    Cliff
    Member

    Sorry to hear that. Here’s a video demonstrating how this works in the weekly recurrence UI: https://cl.ly/3L1s0L47390n

    Please send a screen capture video of what you’re experiencing at your site.

    Thank you.

    #1321956
    Sam Davis
    Participant

    Thanks for sending through that screen cap.

    It’s not quite what I’m experiencing. Here’s a screen recording of what’s happening from my end.

    https://www.dropbox.com/s/r74n1z6am3cntil/TEC%20Recurring%20Events.mov?dl=0

    #1322402
    Cliff
    Member

    Here’s a GIF of me not being able to reproduce that issue: https://cl.ly/1b0I3G1P372O

    Please follow our Testing for Conflicts Guide (basically switch to Twenty Seventeen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.

    Of course, we always recommend restorable database and file backups before modifying anything on your site.

    #1323099
    Sam Davis
    Participant

    Worked it out!

    Once I disabled my theme it was working properly. I worked out that the issue came from a line of code that was explicitly setting the PHP timezone to Sydney Australia. I guess it plays around with what TEC is expecting? This was the code:

    <?php date_default_timezone_set('Australia/Sydney'); ?>

    The line is removed and everything is working as expected now ? Thanks!

    • This reply was modified 8 years, 9 months ago by Sam Davis.
    #1323517
    Cliff
    Member

    Ah, yes, that would affect things. Good find!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Incorrect recurrence dates’ is closed to new replies.