Closed jaidetree closed 4 years ago
Ack! Forgot to mention I'm down for creating a PR to split out that date collection function as proposed. I just want the greenlight before I get started :smile:
I PR would be highly appreciated. I thought already about re-factoring that function. Somehow this function/snippet looks ugly too :-), beside having obviously bugs.
Thanks!
I moved this issue to the milestone 2.2.0, as the actual bug has been fixed with 75e241e.
Describe the bug When creating a new journal entry, sometimes tasks from the last entry are not carried over. This appears to be caused by the sorting of the date entries.
To Reproduce
Expected behavior The TODO entry in 20200618.org is carried over to 20200622.org
Desktop
Your Emacs Configuration
Research https://github.com/bastibe/org-journal/blob/master/org-journal.el#L1001-L1009
It seems to be sorting the dates incorrectly. I added advice to that function and logged what the collection algorithm above would return:
Output
Solution Strategies