Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Orderby isn't working with date #102

Open
Et3rnal opened this issue Jan 20, 2020 · 0 comments
Open

Orderby isn't working with date #102

Et3rnal opened this issue Jan 20, 2020 · 0 comments

Comments

@Et3rnal
Copy link

Et3rnal commented Jan 20, 2020

[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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant