protesilaos / denote

Simple notes for Emacs with an efficient file-naming scheme
https://protesilaos.com/emacs/denote
GNU General Public License v3.0
455 stars 49 forks source link

Bug with `denote-date` + remove code duplication. #363

Closed jeanphilippegg closed 1 month ago

jeanphilippegg commented 1 month ago

When using denote-date with an empty input at the date prompt, the id is 19991231T190000 instead of using the current-time as in denote-org-capture.

I fixed denote-parse-date. I was also able to remove the code duplication between denote and denote-org-capture.

protesilaos commented 1 month ago

Merged, thank you!