Base solution for your next web application
Open Closed

Any plans to remove moment or can we remove? #11696


User avatar
0
Astech created

Hi,

With the people behind Moment.js even advising against using it, are there any plans to remove from ASP Net Zero? Or could be remove ourselves without any significant loss in functionality around subscriptions, notifications etc? The payload of both moment with locales and data are causing our bundle size to be much larger than it should be.

Thanks


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Astech

    It has been removed from the Angular version of AspNet Zero but not from MVC & jQuery version yet. You can follow this issue https://github.com/aspnetzero/aspnet-zero-core/issues/3573. We were waiting for our datetime picker to remove moment dependency and it seems like it is removed, so we will work on this in v13.0 version.

  • User Avatar
    0
    Astech created

    Morning @ismcagdas,

    That's great, thank you very much for your reply.

    All the best