ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Sorting ISO dates is not supported

Open novice3030 opened this issue 11 years ago • 3 comments

RowSorter.SortDate does not support ISO format This is a major issue if you system is using ISO date format and not JS date

novice3030 avatar Mar 04 '15 09:03 novice3030

ISO dates aren't really dates, they are just strings. You could parse them into dates before giving them to ui-grid, or do a custom sorter that parses them.

cookednoodles avatar Mar 04 '15 09:03 cookednoodles

@novice3030: what is it that you'd want here? I think the suggestion of a custom sorter makes sense - the sorters that are provided in the grid are reasonably basic, and I don't think we want to provide a lot of rich ones for specific niches.

PaulL1 avatar Mar 09 '15 05:03 PaulL1

Closing: solution proposed that should resolve the issue, no further comments for 2 weeks, assuming solution has resolved issue.

PaulL1 avatar Apr 12 '15 06:04 PaulL1