alexandru-dinu / obsidian-sortable

Table sorting plugin for https://obsidian.md
MIT License
233 stars 7 forks source link

Sorting by date is flawed #33

Closed ThurMeijer closed 1 year ago

ThurMeijer commented 1 year ago

When sorting by date, Sortable uses the string instead of the iso-date. For example:

I have my release dates logged as iso-date: ReleaseDate:: YYYY-MM-DD, but my standard date-view is DD-MM-YYYY.

When I use Sortable it sorts by DD-MM-YYYY, which means 31-05-2022 is later than 15-10-2022.

Is is possible to recognize dates and use iso-dates?

alexandru-dinu commented 1 year ago

Apologies for the extremely late reply! Implemented an ad-hoc solution for sorting ISO dates until I think of something smarter.

https://github.com/alexandru-dinu/obsidian-sortable/releases/tag/0.3.0