You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/dataRender/intl.min.mjs

2 lines
572 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
import DataTable from"datatables.net";DataTable.render.intlDateTime=function(t,n){var r;return window.Intl?(r=new Intl.DateTimeFormat(t,n),function(t,n){var e;return"string"==typeof t?e=Date.parse(t):t instanceof Date&&(e=t),isNaN(e)||"type"===n||"sort"===n?t:r.format(e)}):function(t){return t}},DataTable.render.intlNumber=function(t,n){var e;return window.Intl?(e=new Intl.NumberFormat(t,n),function(t,n){return"display"===n?e.format(t):"filter"===n?t+" "+e.format(t):t}):function(t){return t}};export default DataTable;