From 7c6bfd5c05126ee64deb4c555457ac4c3eb61c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=9F=8E=E5=8D=8E?= <1806804825@qq.com> Date: Thu, 22 Dec 2016 17:21:34 +0800 Subject: [PATCH] * 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. --- sorting/time-elapsed-dhms.js | 1 - 1 file changed, 1 deletion(-) diff --git a/sorting/time-elapsed-dhms.js b/sorting/time-elapsed-dhms.js index 15e49c1..cd483f5 100644 --- a/sorting/time-elapsed-dhms.js +++ b/sorting/time-elapsed-dhms.js @@ -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);