Skip to content

Commit

Permalink
notifications: show notifications for all active dates
Browse files Browse the repository at this point in the history
  • Loading branch information
Maltimore committed Mar 26, 2023
1 parent aa084b5 commit 789a267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/orgmode/notifications/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function Notifications:get_tasks(time)
local tasks = {}
for _, orgfile in ipairs(Files.all()) do
for _, headline in ipairs(orgfile:get_opened_unfinished_headlines()) do
for _, date in ipairs(headline:get_deadline_and_scheduled_dates()) do
for _, date in ipairs(headline:get_valid_dates_for_agenda()) do
local reminders = self:_check_reminders(date, time)
for _, reminder in ipairs(reminders) do
table.insert(tasks, {
Expand Down

0 comments on commit 789a267

Please sign in to comment.