cjlee
Forum Replies Created
-
I’d rather not post that debugging information publicly.
However, I did some more testing and troubleshooting. I deleted all of the events from the calendar and started from scratch. I also tried a test event with every possible choice under the various recurring-event settings:
– “Does not recur” (works correctly);
– “Daily” (works correctly);
– “Daily, Weekdays only” (still causes the problem described in post above);
– “Weekly” (works correctly);
– “Monthly by date (the 24th of each month)” (works correctly);
– “Monthly by day (the 3rd Monday of each month)” (works correctly).So only recurring events set as “Daily, Weekdays only” seem to have the problem. To recap, setting my 4:00 p.m. – 5:00 p.m. Monday (1/2/2023) event to “Daily, Weekdays only” causes the days of the week it is shown to move to Tuesday-Saturday instead of Monday-Friday and the time of day to change to 8:00 a.m. – 10:00 a.m., or similar errors.
Therefore, I think we will have to avoid this “Daily, Weekdays only” setting and create five separate “Weekly” recurring events for a M-F repeating event, if we need it. Either that or else find a different calendar solution.
Perhaps a solution or more helpful information will come to light in the future.
In the meantime, I thank you for your assistance and for building this useful calendar plugin! Other than this problem, it has served my client well. Thank you!
The start time, end time and start date were as mentioned in my reply above.
But I deleted those test events and tried again, doing some more troubleshooting.
This time I first created a new “Free Meal–TEST” weekday event and this time I set the time as 4:00 p.m. to 5:00 p.m., set date as 2023-1-13 and did not check “All day event”; I set the End Date (optional) as 2023-1-13 and Repetition Pattern as “Weekly, Repeat Until 2024-1-5. Setting it as weekly seems to work just fine, with that event showing up just on Fridays and at the correct time. BUT, when I simply change the Repetition Pattern to “Daily, Weekdays only“, Repeat Until 2024-1-5, the public calendar then shows it as starting on Saturday, 1/14/2023 instead of Friday 1/13 and doesn’t show it at all on Mondays but instead on Tues.-Sat. and running from 8:00 a.m. until 10:00 a.m.! This is even though when I go back into the event in the back-end, it still shows 2023-1-13 as the date (Friday) and 04:00 PM as start time and 05:00 PM as the end time. The End Date (optional) is blank when I got back in to the event, however.
You can see it at https://madisoncatholicherald.org/calendar/
So it appears to be a problem with Daily, Weekdays only. I haven’t tried all of the other Repetition Pattern possibilities.
Thank you for the quick reply!
It actually changed it from 4:00 p.m. to 8:00 a.m. and then from 4:01 p.m. (when I edited the event to try to fix it) to 8:02 a.m.
I did more testing. Creating a single non-recurring event seems to work fine. If I edit the event to add more text, it still works fine. But if I edit the event to make it recurring (Daily, weekdays only) for say, five days (from Monday, 1/16/2023 until Friday, 1/20), it creates five total entries, on 1/16, 1/17, 1/18, 1/19 and 1/20 but then also creates five more entries on 1/17, 1/18, 1/19, 1/20 and 1/22 (the latter of which is a Saturday), so that there is one instance showing up on Monday, 1/16 and one on Saturday, 1/21, but two each on 1/17, 1/18 and 1/19! This is even though the settings for the event have it as “Weekdays until 2023-01-20” and starting on Monday 1/16. I left this up for now, here, for you to see. If you hover over the duplicate events for Monday, 1/17, for example, the URLs are:
I also tried creating another recurring-event test for Free Meal (4:00 p.m. start, 5:00 p.m. end, 2023-1-13 start, “Daily, weekdays only” repetition until 2024-1-5) but it had the similar problem. I then tried creating the event differently, by putting no start or end time but instead “All day event” checked, “Time label: 4:00 pm” and “Hide end time” checked. In this case it shows 4:00 pm for the event in the public calendar, and starts displaying it on Friday, January 13 a single time, also on Saturday, January 14 a single time and a single time on Monday, January 16, but then twice a day for the Tuesdays through Thursdays — all from that one newly-created event.
And yet when I look at the “View scheduled dates” in Edit-event, it correctly shows, January 13, 2023, January 16, 2023, January 17, 2023 and skips 21-22, 28-29 etc., like it should. But yet the event still shows up on those weekend Saturdays (single time) but not Sundays in the public-viewable calendar.
I also left the second Free-Meal event online for now, here, for you to see.
Very odd. Do you think the event database or My Calendar plugin got corrupted somehow when it auto-updated to the 3.4.x series?
- This reply was modified 3 years, 4 months ago by cjlee.