Hi, while upgrading to widgets version 38.0.0 I could not find migration instructions for the method “extendedDayjs” that got removed or moved.
We use the method like this: const parsedDate = extendedDayjs(inputValue, dateFormat, true);
It would be nice to add the migration instructions or describe what to use as replacement.
Thanks in advance,
Nick
Hi @nick-linked-tensor , extendedDayjs doesn’t do anything special beside configuring some locale and timezone specifics, that need to be done in a project and not in widgets code. It shouldn’t be used and it was our bad to expose it.
extendedDayjs is “dayjs”. If you would like to continue using dayjs you can import it yourself. Or use date-fns which is what A12 Widgets relies on at the moment.