ci: fix
This commit is contained in:
parent
7ebfcc63c3
commit
9c5d57bece
7 changed files with 80 additions and 53 deletions
|
|
@ -130,7 +130,8 @@ function M.toggle_complete()
|
|||
if task.recur and task.due then
|
||||
local recur = require('pending.recur')
|
||||
local mode = task.recur_mode or 'scheduled'
|
||||
local base = mode == 'completion' and os.date('%Y-%m-%d') --[[@as string]] or task.due
|
||||
local base = mode == 'completion' and os.date('%Y-%m-%d') --[[@as string]]
|
||||
or task.due
|
||||
local next_date = recur.next_due(base, task.recur, mode)
|
||||
store.add({
|
||||
description = task.description,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue