Allan Jardine
addb0eb013
Fix - sorting: Datetime moment was giving an error when used on non-string types
...
https://datatables.net/forums/discussion/comment/185605#Comment_185605
4 years ago
Allan Jardine
b400e641b3
Remove use of deprcated $.trim
4 years ago
Alexander
61dfc198c2
Move the parameter to the end of the function.
...
Move the parameter to the end of the function for backward compatibility purposes.
6 years ago
Alex
60362bf3c9
Update datetime-moment plugin. Add a Boolean parameter that allows to invert the order of empty values.
6 years ago
Vitaliy D
1ad4086c39
Adding support mixed date and string column data
...
Add correct ordreing then date column contains some another strings.
It will be usefull, when date can be null, infinity or empty. Also this is change, move strings (invalid dates) to end of ordering because it right, string date mean something informative and no have end date.
Example:
28.11.2017
Infinitly
22.07.2017
Will be sorted to
22.07.2017
28.11.2017
Infinitly
8 years ago
Allan Jardine
280402d05e
Sorting: Fix mix of tabs and spaces for datetime-moment plug-in
...
- Also use $.trim for whitespace removal. We've got jQuery, so might as
well use it for compatibility
8 years ago
Ethan Lafrenais
25c4434af1
Changed datetime-moment to strip out newline characters and surrounding whitespace
8 years ago
Allan Jardine
785cd1ca46
Fix - sorting: Correct loader name for datetime-moment plug-in
8 years ago
Wesley Ribeiro
9e7942b821
Sorting does not work properly on columns with empty dates inside
...
HTML tags.
9 years ago
MickeyP
649a0664cf
changed usage to require-friendly amd style
9 years ago
Allan Jardine
e5ea38de87
Sorting - fix syntax error in moment plugin
9 years ago
Allan Jardine
0f8ec6f7de
Sorting: Update moment date / time to strip HTML tags before checking for empty
...
- Update suggested by sporring - thanks!
9 years ago
Allan Jardine
fdbee7fdf6
Update - sorting: Add HTML stripping support to the moment plugin
10 years ago
Rasmey SARETH
baf1ab3435
FIX: Considering the milliseconds for ordering
10 years ago
Allan Jardine
eb06604fdc
Sorting: Date time with moment.js - update to accept null and empty values, which are treated as -Infinity
10 years ago
Allan Jardine
25aa4c8780
New - sorting: "Ultimate" date / time sorting plug-in for DataTables using Moment.JS
10 years ago