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

publish locale-weekinfo package #16

Open
mh-alahdadian opened this issue Oct 17, 2022 · 3 comments
Open

publish locale-weekinfo package #16

mh-alahdadian opened this issue Oct 17, 2022 · 3 comments

Comments

@mh-alahdadian
Copy link

Hi
I was wondering why locale-weekinfo package is not published on npm ?
weekInfo field of Intl.Locale does not have full browser support. It would help people like me, who want to use this package to get weekInfo of all locales

@arshaw
Copy link
Member

arshaw commented Apr 22, 2023

I definitely plan on publishing this

@Ayc0
Copy link

Ayc0 commented Feb 22, 2024

What's the difference betwen this locale-weekinfo and https://formatjs.io/docs/polyfills/intl-locale/?

@arshaw
Copy link
Member

arshaw commented Feb 28, 2024

@Ayc0, that package polyfills the whole Intl.Locale class from what I understand. This package will polyfill just .getWeekInfo() (formerly .weekInfo) and will do so in an ultra-compact way.

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