Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82117

dd-mon-yyyy IE shim

$
0
0
The organization I support dictates that all dates will be shown in dd-MON-yyyy format (10-SEP-2006, 08-MAY-2013).

When run on Chrome, dataTables correctly recognizes this pattern as a date.
Unfortunately, we also have to support IE7. Thankfully I came across abbottmw's sorting function for my pattern (http://datatables.net/forums/discussion/1933/dd-mon-yyyy-date-format/p1#Comment_8401).

My question is, what is the syntax for using abbottmw's sorting function for only IE, but not for Chrome? Is there a way I can do the sorting declaration conditionally?

Please see http://jsfiddle.net/jhfrench/zpWWa/2/ for an example dataset.

Viewing all articles
Browse latest Browse all 82117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>