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.
2 lines
357 B
JavaScript
2 lines
357 B
JavaScript
/*! © SpryMedia Ltd, caochenghua - datatables.net/license */
|
|
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.ext.type.order["time-elapsed-dhms-pre"]=function(e){var a,e=e.match(/^(\d+(?:\.\d+)?)\s*([a-z]+)/i);return e?(a={s:1,m:60,h:3600,d:86400}[e[2].toLowerCase()],parseFloat(e[1])*a):-1};export default DataTable; |