Admin dashboard dates were sorted alphabetically as strings. This resulted in 1/1/2021 coming first instead of the most recent date. Date sorting is now handled as dates instead of strings, and sorted in descending order.
Testing
Login to /admin
Sort pledges by date
Verify that they're sorted descending from most recent to least recent
Issue(s)
Closes #135
Changelog
Fixed
Sort admin dashboard dates correctly. [#135]
Release Checklist
[x] I have tested this code
[x] I have updated the Changelog
[ ] I have updated any @since unreleased docblock comments
[ ] I have run npm version [major | minor | patch]
Summary
Admin dashboard dates were sorted alphabetically as strings. This resulted in 1/1/2021 coming first instead of the most recent date. Date sorting is now handled as dates instead of strings, and sorted in descending order.
Testing
/admin
Issue(s)
Closes #135
Changelog
Fixed
Release Checklist
@since unreleased
docblock commentsnpm version [major | minor | patch]