Future of MomentJS

Future of MomentJS

Bindrid2Bindrid2 Posts: 79Questions: 4Answers: 12

The authors of MomentJS consider their own app to be a legacy app. Do you have any plans to rewrite DataTables to rid itself of code that checks to see if Moment is loaded and use it if it is?

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    I think they consider it to be “finished” rather than legacy. They encourage new projects to use Luxon rather than Moment.

    Our DateTime library (which is used by Editor, SearchBuilder and others) supports Luxon already. There is a DataTables sorting plugin which uses Moment, and we’ll be providing a new one with support for Luxon soon.

    DataTables core (out of the box) does not have any dependencies on Moment.

    Allan

Sign In or Register to comment.