Skip to content

crash when minDate is later in the year than maxDate #17

@sproctor

Description

@sproctor

If minDate is 2000-05-20 and maxDate is 2023-01-04, the DateRangeIterator will never find a date in 2023, and setting up the year grid state will throw an exception. A simple fix is to use Jan 1 for the start and end days of the dateRangeByYear. We actually want a YearRange there, not a DateRange.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions