angular-pipes icon indicating copy to clipboard operation
angular-pipes copied to clipboard

Orderby isn't working with date

Open Et3rnal opened this issue 5 years ago • 0 comments

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request

Current behavior I have an array of objects where each object has a time in the following format 2019-12-10T15:04:37.3337392+10:30 unfortunately, the orderby pipe isn't sorting that right, is there a way to get another pipe to process the value before orderBy compare it?

I don't know what orderBy expecting or if it takes another parameter ??

Expected behavior

Sort in the right order.

Et3rnal avatar Jan 20 '20 03:01 Et3rnal