Skip to content

issue with "year" in selectDate v3.6.0 #687

@Daijobou

Description

@Daijobou

Calling selectDate(new Date(year, month, day)) does not update the calendar if only the year changes. Changing day or month works.
With this workaround its works, because its changes day + month:

datepickerInstance.selectDate(new Date(1970, 1, 1));
datepickerInstance.selectDate(new Date(year, month, day));

This is not working: starting with 2025-09-30, calling selectDate(2024-09-30) only updates the year in the internal state, but the calendar view does not reflect the change.

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