Open jeanp117 opened 16 hours ago
2.4.8
When using the Envelope DatePicker component wrapped with:
`
I noticed a discrepancy in the first day of the week:
For es-CO (Colombia), November 24, 2014 is displayed as Monday (Lunes), but it should be Sunday (Domingo).
For es-ES (Spain), the component correctly displays Monday (Lunes) as the first day of the week.
This suggests that the locale settings for es-CO may not correctly align with the expected Colombian calendar conventions.
Using es-CO (Colombia) shows 24-nov-2014 as monday ( L ) but it should be sunday ( D )
https://codesandbox.io/p/devbox/datepicker-bug-z9hxjr
Use i18n provider as follows `
open the date picker and check the day of week
The day of the week is globally synchronized, so November 24, 2024, is Sunday everywhere.
No response
Windows
Chrome
ENG-1644 [BUG] - week day incorrect when using I18nProvider
NextUI Version
2.4.8
Describe the bug
When using the Envelope DatePicker component wrapped with:
`
`
I noticed a discrepancy in the first day of the week:
For es-CO (Colombia), November 24, 2014 is displayed as Monday (Lunes), but it should be Sunday (Domingo).
For es-ES (Spain), the component correctly displays Monday (Lunes) as the first day of the week.
This suggests that the locale settings for es-CO may not correctly align with the expected Colombian calendar conventions.
Using es-CO (Colombia) shows 24-nov-2014 as monday ( L ) but it should be sunday ( D )
Your Example Website or App
https://codesandbox.io/p/devbox/datepicker-bug-z9hxjr
Steps to Reproduce the Bug or Issue
Use i18n provider as follows `
`
open the date picker and check the day of week
Expected behavior
The day of the week is globally synchronized, so November 24, 2024, is Sunday everywhere.
Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome