Services Plugins FAQs

Modifying Calendar Tool Plugin to use Day.js instead of Moment.js

Hi Zeroqode,

I’m currently using your Calendar Tools plugin. Which is working great for my custom calendar using a repeating group.

In my console log, it appears I’m getting deprecation warnings because the plugin uses Moment.js.

Are there any plans to switch this plugin to day.js or another maintained alternative?

Thanks in advanced!

1 Like

Hello @dillon, :wave:

Thank you for reaching out and for using our plugin! It is great to hear that the plugin is working great for you!

I understand your concern regarding the deprecation warnings related to Moment.js.

The transition from Moment.js to a more modern and actively maintained library like Day.js is a decision that involves careful consideration, primarily due to compatibility and functionality coverage. Day.js is designed to be a lighter alternative to Moment.js with a similar API, which could potentially make the transition smoother.

For a definitive answer on future plans regarding this transition, I will consult with our dev team and will keep you updated about their response.

If you have any more questions or require further assistance, feel free to ask.

Best regards,
Daniel.

Hello @dillon, :wave:

I have discussed with our devs about Moment.js deprecation, and right now the library is in maintenance mode. While it’s not actively being developed with new features or major changes, it is still functional and maintained for critical bug fixes and security patches. This means that Moment.js continues to be a reliable library, despite the deprecation warnings you are seeing.

Your suggestion to switch to Day.js is valuable and has been added to our product roadmap for consideration in future updates. We don’t have an exact timeline for this transition yet, but please rest assured that we are continuously working to enhance our plugins and I will keep you updated with any changes. :pray:

Thank you for bringing this to our attention, and if you have any more questions or concerns, please feel free to reach out.

Best regards,
Daniel.