Use js instead of moment to parse date to avoid warning

This commit is contained in:
Philip Kirkbride
2017-07-13 11:44:22 -04:00
parent 4f9930fc53
commit a555611cc6

View File

@@ -12,7 +12,7 @@
$('thead th.date').data('sortBy', function(th, td, tablesort) {
var tdTime = td.text().replace("-", "");
return moment.utc(tdTime).unix();
return moment.utc(new Date(tdTime)).unix();
});
$('input.filter-table').parent('div').removeClass('hide');