Closed Anasailon closed 9 months ago
This displays the wrong calendar Week in the title and (likely?) breaks the month view.
~~Also, I don't know if introducing this statically (without configuration) makes sense, as this is intended to be a general-purpose calendar viewer. Some calendars do have events on sunday. Potentially a better solution would be to skip to the next week if no events in the current week remain.~~ (We don't show sundays lol)
Now I think we've overcomplicated this a bit. Sorry if I was confusing in my last review. To be clear, I would propose to just reduce the changes to this: That should work even with proper updating of the location in the url.
was resolved by moving to check in the setcurrentdate function and also before currentdate is passed to updatecalendar
Added a check for sundays to display the following week on sundays. For this the date objct that was passed to the update calendar function had to be changed from start of current Type to start of day