fullcalendar / temporal-polyfill

A lightweight polyfill for Temporal, successor to the JavaScript Date object
MIT License
335 stars 14 forks source link

publish `locale-weekinfo` package #16

Open mh-alahdadian opened 1 year ago

mh-alahdadian commented 1 year ago

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 commented 1 year ago

I definitely plan on publishing this

Ayc0 commented 7 months ago

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

arshaw commented 6 months ago

@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.