Calendar navigation

  1. 2 months ago

    Hello, I have a few questions on calendar navigation.

    Does anyone know what previous period and next period do?

    From a bit of experimentation the algorithm seems to be:
    Previous:
    Take the currently selected date and subtract 1 day.
    Get the month of this new date.
    Display a calendar that shows all days in that month.
    Change the selected day to the date in the top left corner.
    Adjust the mini calendars to represent the selected month.
    Next:
    As above but add a day rather than subtract one.

    From experimentation the above usually happens - however:
    > "Display a calendar that shows all days in that month."
    Is not quite right. At first I thought it only showed 5 weeks so months covering 6 weeks would be truncated - but sometimes 6 weeks are shown, but other times months are truncated. Is there a reason some months are truncated?

    The above probably is not a good explanation so I will try to explain with an example.
    Click June 9th 2023 to open June 9th in daily view.
    Click show month calendar to switch to month view with June 9th selected
    Click next period
    6 weeks are shown - June 26th - August 6 which is the exact set of weeks required to cover July

    However:
    Click April 9th 2022 to open April 9th in daily view.
    Click show month calendar to switch to month view with April 9th selected
    Click next period
    5 weeks are shown - May 2nd - June 5th.

    This seems to be consistent for December 2022 - selecting December 1st 2022 and clicking next jumps to January 2nd.

    So it looks like we show all weeks unless the month starts on a Sunday?

    Is this right? If so why is Sunday treated differently is this a bug or expected?

    Some other dates seem to be strange.

    On mini calendar click February 8th 2023
    Click the view month button
    Click previous
    Here I would expect January to be displayed - but December is displayed.

    On mini calendar click June 9th 2022
    Click the view month button
    Click previous
    April is shown where I would expect May.

    Is there a way to change this behavior? I think the next and previous should work as follows:
    Previous: Take the first date displayed on the large calendar and subtract a day. Display the full month for that day.
    Next: Take the last date displayed on the large calendar and add a day. Display the full month for that day.

    My expectation of a next based on other software is that if I sit clicking it for long enough I will scroll past any future date.

    Also is there a way to quickly display a month maybe using the mini calendars? If I am in month view and I click a day - it selects just that day and takes me out of month view. I understand why - because I selected that day. I can see that being useful, so think it's a good idea. But sometimes I want to see that whole month.
    I worked out that the solution is to click the first day and drag to cover the month and it works, but on a laptop track pad this is not as fluid as on a PC. I have tried a few modifier keys (which did logical thing) but none did this. I have also tried clicking on the month - but this brings up a handy month selection (Although not as nice as windows month selection ;) ) . My guess is you can't. It's not a big deal if not, we have other ways to do the task as I mentioned.

    Thanks

 

or Sign Up to reply!