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.js

2 lines
909 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}(function(e,u,n,t){"use strict";e=e.fn.dataTable;return e.render.intlDateTime=function(e,n){var r;return u.Intl?(r=new Intl.DateTimeFormat(e,n),function(e,n){var t;return"string"==typeof e?t=Date.parse(e):e instanceof Date&&(t=e),isNaN(t)||"type"===n||"sort"===n?e:r.format(t)}):function(e){return e}},e.render.intlNumber=function(e,n){var t;return u.Intl?(t=new Intl.NumberFormat(e,n),function(e,n){return"display"===n?t.format(e):"filter"===n?e+" "+t.format(e):e}):function(e){return e}},e});