Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make occurrences in chronological order even if BYMONTHDAY or BYYEARDAY is not in order #666

Merged
merged 2 commits into from
Apr 18, 2024

Commits on Apr 16, 2024

  1. Make occurrences in chronological order even if BYMONTHDAY or BYYEARD…

    …AY is not in order
    
    The recurrence iterator has a problem where it makes occurrences in the same order as given in
    BYMONTHDAY or BYYEARDAY, which doesn't make sense - it should always return them in chronological
    order.
    
    This patch fixes it by pre-ordering the days that can be used when the month or year changes.
    A day that is valid for one month/year may be different or not valid for the next month/year, so
    the days need to be recomputed each time.
    darktrojan committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    427f3e4 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    e54e391 View commit details
    Browse the repository at this point in the history