You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File /packages/core/src/shared/date/comparators.ts imports createCalendar from @internationalized/date package, which leads to all calendars being included in resulting application bundle
Additional information
I intend to submit a PR for this feature.
I have already implemented and/or tested this feature.
The text was updated successfully, but these errors were encountered:
Hm, the problem is that the default has to be createCalendar in order to pick the appropriate calendar without requiring people to deal with picking the right impl 😕
Using the Gregorian calendar as a default means locales which use another calendar system won't have the proper calendar show up without additional logic, but at the same time it's right it's a waste to include all calendar systems if only one ends up in use.
Besides a build-time flag I'm unsure this can easily be solved without downgrading i18n handling
Describe the feature
File
/packages/core/src/shared/date/comparators.ts
importscreateCalendar
from@internationalized/date
package, which leads to all calendars being included in resulting application bundleAdditional information
The text was updated successfully, but these errors were encountered: