banco-alimentar / alimentestaideia.pt

Site doações alimente esta ideia
http://alimentestaideia.pt
Other
10 stars 0 forks source link

Subscription Management - Order by date is incorrect #688

Open tiagonmas opened 1 year ago

tiagonmas commented 1 year ago

Describe the bug When ordering by date, it's ordering as a string and not by date

To Reproduce Steps to reproduce the behavior:

  1. Login
  2. Go To Subscriptions
  3. Click on up or down arrow of "Created"
  4. If you have many subscriptions you will see that order is alphabetical and not by date

Expected behavior Should order by date asc or desc

Screenshots image

guerrerotook commented 1 year ago

I changed the way presenting the datetime information in the datagrid. Let me know if this works for you.

tiagonmas commented 1 year ago

In dev I'm still seeing incorrect order of dates. eg: 2022 in middle of two 2021 image

guerrerotook commented 1 year ago

We need to see that in your PC, because in mine looks ok. image