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

Polyfill : undefined weekOfYear and yearOfWeek with calendarId = "islamic-civil" #2905

Open
GldzzPro opened this issue Jun 25, 2024 · 3 comments

Comments

@GldzzPro
Copy link

Temporal.PlainDate with calendarId = "islamic-civil" always return undefined weekOfYear and yearOfWeek proprieties
islamic-civic

@ptomato
Copy link
Collaborator

ptomato commented Jul 12, 2024

Most JS implementations will get this data from CLDR, which currently doesn't provide it for any Hijri calendar. There is a proposal to add it, which I recommend you follow: https://github.com/khawarizmus/hijri-week-calendar-proposal

@khawarizmus
Copy link
Contributor

khawarizmus commented Jul 13, 2024

Thank you for the mention @ptomato but for a better developer experience and elaborate documentation and long term support I suggest this library. https://github.com/zamanapp/week-dates

@khawarizmus
Copy link
Contributor

Also to follow the progress of this landing on the CLDR check this issue

khawarizmus/hijri-week-calendar#3

I haven't followed up through this yet but I should be starting that process soon.

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

3 participants