Timetable not showing on weekend (duplicate days in week)

Occasionally we work weekends and the timetable needs to adjust such that a Sunday becomes a Tuesday. In v25 this was no issue, and adjusted dates would show. I’ve somewhat recently upgraded to v29 and am unable to see the regularly scheduled events on, in this case, Sunday. Additional items, like room books and covers are showing up as normal.

This screenshot shows Sunday as active, but it doesn’t have Tuesday’s classes.

This screenshot shows a teacher’s timetable with an active booking, but again, does not show their normal schedule (Tuesday in this case) during the Sunday slot.

Here is an example of a cover class appropriately showing, indicating that the timetabled class is there, just hidden, for the original teacher.

Also screenshots to show that the timetable is active, the correct day is set.

Not a permanent fix, but changing the “First Day of the Week” to Sunday caused the issue to vanish.

Hi @cSanders , well caught, it is indeed an edge case that was not accounted for in the new timetable re-write. I appreciate the clear bug report and screenshots you’ve shared. I was able to replicate and fix the issue in a commit here for v30, and luckily it was only a one-line fix, so should be easy to apply to your system. Let me know if this does the trick, thanks again.

This did the trick. Easy adjustment, thanks!