svelte-datepicker icon indicating copy to clipboard operation
svelte-datepicker copied to clipboard

Fix: Cannot read property ‘extend’ of undefined

Open riungemaina opened this issue 3 years ago • 3 comments

Fixes #56.

riungemaina avatar Apr 18 '22 13:04 riungemaina

I have used a hack in my project (in this commit which is "a bit" similar, but it's a hack, not a fix.

The main problem is that dayjs is undefined after being imported, and I have no idea why 😕

However, this seems like a common issue in dayjs.

Pierstoval avatar Apr 18 '22 15:04 Pierstoval

Oh, I'll look for a fix and if that's available, I can add it and make a PR.

riungemaina avatar Apr 23 '22 23:04 riungemaina

Hello,

A possible solution here : https://github.com/beyonk-adventures/svelte-datepicker/issues/61

Its-Just-Nans avatar Aug 29 '22 18:08 Its-Just-Nans