* When dealing with time span elapsed, it is common to append a post fix

* such as d(day), h(hour), m(minute) or s(second) to a string in order to easily denote the brief duration
 * of the time span from now. This plug-in allows sorting to take these
 * indicates of size into account.
pull/310/head
曹城华 8 years ago
parent 2e8488b9e4
commit 7c6bfd5c05

@ -23,7 +23,6 @@
*/
jQuery.fn.dataTable.ext.type.order['time-elapsed-dhms-pre'] = function(data) {
var matches = data.match(/^(\d+(?:\.\d+)?)\s*([a-z]+)/i);

Loading…
Cancel
Save