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

Local Week year is wrong on Firefox for en-US, fr-CA (locales with weeks starting on Sunday). #1563

Open
JeanMeche opened this issue Jan 8, 2024 · 0 comments

Comments

@JeanMeche
Copy link

I'm opening this bug for tracking purposes,

Currently the week year format (iiii) can be wrong on firefox because it doesn't support getWeekInfo and Luxon uses the following fallback (which is the ISO definition I believe):

luxon/src/impl/locale.js

Lines 320 to 324 in 3125686

const fallbackWeekSettings = {
firstDay: 1,
minimalDays: 4,
weekend: [6, 7],
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant