jceb / vim-orgmode

Text outlining and task management for Vim based on Emacs' Org-Mode
http://www.vim.org/scripts/script.php?script_id=3642
Other
3.13k stars 268 forks source link

Time-sorted agenda view is not time-sorted #351

Open daedaless opened 4 years ago

daedaless commented 4 years ago

The feature "timeline for a single file", invoked by caL, does not seem to be time-sorted.

In the original file, I have a TODO scheduled for a Wednesday at 15:00, a TODO scheduled for a Friday at 15:00, and a TODO scheduled for a Wednesday at 17:00. In the agenda screen invoked by caL, those TODOs wrongfully appear in the aforementioned order. I also note that the timeline does not include events with date stamps but without times (i.e. <2020-05-06 Wed> will not appear, but <2020-05-06 Wed 15:00> will). Not sure if that's intended functionality, but it would be much more helpful if they were included (perhaps with a default value of 00:00).

Am I misunderstanding what 'time-sorted' means, or is this a bug?

Thank you.

dmitry-tomp commented 1 year ago

Looks like a bug to me. I am an active user of caa function (weekly summary), and I also see that the items are completely misplaced if some items are scheduled with time included (e.g. <2023-05-12 Fri 12:00>) and some others are not (e.g. <2023-05-12 Fri>). Both time formats are documented for Emacs org-mode, so vim-orgmode should ideally support them well too.