coreui/coreui-react

Date Picker and Date Range Picker - Error on last week

Closed this issue · 3 comments

Components:
CDatePicker, CDateRangePicker

Mode:
week

Documentation link: coreui.io/react/docs/forms/date-picker/#weeks

Browsers Tested:

Firefox (latest)

Chrome (latest)

Description

When selecting either the last week of December 2025 or the first week of January 2026 in week mode, the component incorrectly displays the first week of 2024.

This behavior is visible directly on the documentation page linked above and has been confirmed on both Firefox and Chrome.

I’m attaching a GIF below to clearly demonstrate the issue.

Image

Steps to Reproduce

Go to the official documentation page at [coreui.io/react/docs/forms/date-picker/#weeks].

Open the CDatePicker in week mode.

Navigate to December 2025.

Select the last week of December or the first week of January 2026.

The component highlights the first week of 2024 instead of the correct week.

@aarrielg, what is your timezone?

Hi its GMT+2

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions