Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar: Changing the locale to one for which the week starts on Monday doesn't change the view #1020

Open
simeonoff opened this issue Jan 10, 2024 · 1 comment
Labels
calendar 🆕 status: new The issue is new and will be reviewed when somebody picks it up. nice-to-have

Comments

@simeonoff
Copy link
Collaborator

Description

Given a locale which specifies that the week starts on Monday, like Bulgarian for instance, doesn't modify the calendar view. The week still starts on Sunday. This behavior is different than the one we have in Angular.

Steps to reproduce

  1. Open the calendar story
  2. In the control panel, change the locale property to bg

Result

The week still starts on a Sunday

Expected result

The week should start on a Monday

@simeonoff simeonoff added bug Something isn't working 🆕 status: new The issue is new and will be reviewed when somebody picks it up. calendar labels Jan 10, 2024
@simeonoff simeonoff changed the title Calendar: Changing the locale to one for which the week starts on Monday doesn't work Calendar: Changing the locale to one for which the week starts on Monday doesn't change the view Jan 10, 2024
@simeonoff simeonoff added nice-to-have and removed bug Something isn't working labels Jan 16, 2024
@simeonoff
Copy link
Collaborator Author

After some research, it turns out that Angular has specific implementation for additional data based on locale, like what's the first day of the week.

Seems like there is a proposal for standard browser implementation of this feature. Once it lands in all major browsers, we can get back to this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calendar 🆕 status: new The issue is new and will be reviewed when somebody picks it up. nice-to-have
Projects
None yet
Development

No branches or pull requests

1 participant