-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort notes in dd-Mmm-yyyy format #151
Comments
Hi @DvValk thanks for reporting this feature request! At the same time implementing this is trivial, thus adding it to the list of enhancements (the first one to be done). |
Awesome, thanks for putting it on your to-do list! Looking forward to it :) |
Implementation completed, a robust example from tests: ![]() The exact sorting spec above: ---
sorting-spec: |
/+ \[dd-Mmm-yyyy]
/+ ... \[dd-Mmm-yyyy]
/+ \[dd-Mmm-yyyy] ...
< a-z
--- The newly introduced syntax
A simpler example for a folder ---
sorting-spec: |
target-folder: Attachments
\[dd-Mmm-yyyy]
> a-z
--- This feature available in the 2.1.12 release of the plugin |
Many thanks @SebastianMC, it works like a charm and makes my project folders very clear! |
@SebastianMC anyway to use a similar sorting method but for the Mmm-dd-yyyy format (e.g. Jan-01-2025)? |
Hi @andre-000
this was a low-hanging-fruit, a new 2.1.5 has been exposed with this feature. The relevant pattern to use is An example sorting spec to capture files and folders with a date suffix in that format: ---
sorting-spec: |
target-folder: Attachments
... \[Mmm-dd-yyyy]
> a-z
--- |
Personally I think the date format: dd-Mmm-yyyy is superior to all others as there is no confusion possible between different parts of the world. However, it is horrible while trying to sort. Would it be hard for you to implement this into your nice plugin? Or maybe it is already possible, but I just don't know how to create the correct yaml file?
e.g.:
20-Nov-2024
05-May-2024
26-Dec-2023
13-Oct-2020
Thanks!
The text was updated successfully, but these errors were encountered: