Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5171
    David Magenheimer
    Participant

    I tried to create a recurring event. The intent was to create an event that started on Tuesday, October 7th at 7:00 PM – 9:00 PM. It is supposed to repeat every Tuesday night through November 18. What I’m getting is an event that occurs on Tuesday, October 7th as planned and then the rest of the events occur on Wednesday nights through November 12th (the last Wednesday before Tuesday, November 18). All of the occurrences are at 7:00 – 9:00 PM. I’ve tried this on my development computer as well as on a test server and I get the same results.

    Any thoughts on where to look? Is anyone else seeing this?

    Thanks,
    David M.

    #5228
    Bartosz
    Keymaster

    That’s strange. What if you switch to custom occurences after setting you described above? You should see each occurence exact dates as it was calculated and saved. Are those dates correct then?

    #5229
    David Magenheimer
    Participant

    Yes, custom occurrences works.

    Also, I tested the monthly occurrence and that works. I tried both “day of month” and “day of week” and they both worked. So it seems that only weekly occurrences are having an issue.

    Thanks for your help,
    David M.

    #5232
    Bartosz
    Keymaster

    Ok, I’m adding this as a bug to EM todo list – we’ll check that before next plugin update.

    #5692
    mhoffmann
    Participant

    I am getting this same issue and mistakenly posted it in the support forums. Does anyone know of a temporary workaround for this other than to set the recurrance to the day before you actually want it to appear?

    #5694
    mhoffmann
    Participant

    includes/class-metaboxes.php
    LINE 401

    $weekdays = array_combine(range(1, 7), array_values($weekdays));
    

    changed to

    $weekdays = array_combine(range(0, 6), array_values($weekdays));
    

    Seems to have fixed the problem for me.

    #5695
    Bartosz
    Keymaster

    @mhoffmann, please report back if you get any problems with the fix you posted above.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.