17. Formatted date without Moment.js or Luxon

If a date / time has been used with a non-ISO8601 format, while neither Moment.js nor Luxon are available on the page the error:

Formatted date without Moment.js or Luxon

will occur when when the table is loaded.

Meaning

To parse and format non-ISO8601 formats, DataTables will make use of either Moment.js or Luxon. If a format has been specified for the datetime renderers or type detection, and neither of these libraries are available on your page, this error will appear and the table fail to load.

Resolution

Load either Moment.js or Luxon on your page. Both are available from cdnjs: