yournextrepresentative icon indicating copy to clipboard operation
yournextrepresentative copied to clipboard

the photo review date column sorts on day/month, but not year

Open pmk01 opened this issue 3 years ago • 2 comments

Screenshot 2022-11-25 142837

pmk01 avatar Nov 25 '22 14:11 pmk01

I think the issue is that the dates are sorted alphabetically. Hence in the example above Feb < June < May.

Maybe it's a localisation issue, but I'm seeing dates in the format "16 March 2023" in this table (D/M/Y). Which means that when I sort by Election Date, I currently see the following order 16 March 2023 < 16 September 2021 < 2 March 2023 < 4 May 2023 < 5 May 2016.

semiprime avatar Feb 18 '23 21:02 semiprime

Related to https://github.com/DemocracyClub/yournextrepresentative/pull/1942

VirginiaDooley avatar Feb 20 '23 08:02 VirginiaDooley