rpiambulance / website

RPI Ambulance's website—a work in progress
http://rpiambulance.com/
3 stars 13 forks source link

Fix ordering of crews around end of year rollover #61

Closed MasterOdin closed 6 years ago

MasterOdin commented 6 years ago

Closes #23

What was happening here was that this sort was doing a lexicographical sort using the date as a string, which meant that '01' < '12'. Since the data that's returned from the API is always in the right order, there's not much reason to need to order things here as well.