Skip to content

igx-calendar Displays Week 53 Instead of Week 1 for Jan 1, 2025 (ISO 8601 Violation) #15845

@fexxdev

Description

@fexxdev

🐞 Bug Report

Description

The igx-calendar component displays the incorrect ISO week number for January 1st, 2025.

Specifically, the calendar labels the first week of January 2025 as Week 53, when according to the ISO 8601 standard, it should be Week 1.

This misalignment causes confusion and could result in incorrect data input or synchronization issues with systems relying on ISO-standard week numbering.

Image

Note: January 1, 2025, is incorrectly labeled as part of Week 53. It should be Week 1.


🔧 igniteui-angular version

🌐 Browser

  • Chrome (version tested: latest)
  • Brave (version tested: latest)

🧪 Angular Version

  • Angular 18
  • Angular 19

Steps to Reproduce

  1. Use the igx-calendar component in an Angular 18 or 19 project.
  2. Open the calendar popup.
  3. Navigate to January 2025.
  4. Observe the week number shown for January 1st.

❌ Actual Result

  • The calendar shows Week 53 for Wednesday, January 1st, 2025.

✅ Expected Result

  • The calendar should show Week 1 according to ISO 8601 rules, where:
    • The first week of the year is the one that contains the first Thursday of the year (or January 4th).
    • Weeks start on Monday.

Alternatively, the component should offer a configuration option to switch between US week numbering and ISO 8601 week numbering.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions