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
We want to transition from moment to dayjs in our project, without adding another date library. The problem is we can't create a custom ember-power-calendar plugin that is not with luxon or moment. I tried to create an addon by doing the same method that is used in ember-power-calendar-date-fns: create a funnel to /ember-power-calendar-utils, but it doesn't seem to work, and I have no idea why (maybe because of embroider if we see a related issue ?).
I was wondering if we could add a way to import our own plugin without the calendar to fail at build ? I don't know if the method already exists but I didn't see it or get it yet. Maybe instead of checking if ember-power-calendar-moment or ember-power-calendar-luxon exists, only to check if ember-power-calendar-* exists and only throw errors if a method is missing ?
Thanks for the help.
The text was updated successfully, but these errors were encountered:
Hi guys,
We want to transition from
moment
todayjs
in our project, without adding another date library. The problem is we can't create a custom ember-power-calendar plugin that is not withluxon
ormoment
. I tried to create an addon by doing the same method that is used inember-power-calendar-date-fns
: create a funnel to/ember-power-calendar-utils
, but it doesn't seem to work, and I have no idea why (maybe because of embroider if we see a related issue ?).I was wondering if we could add a way to import our own plugin without the calendar to fail at build ? I don't know if the method already exists but I didn't see it or get it yet. Maybe instead of checking if
ember-power-calendar-moment
orember-power-calendar-luxon
exists, only to check ifember-power-calendar-*
exists and only throw errors if a method is missing ?Thanks for the help.
The text was updated successfully, but these errors were encountered: