Sophie Hirn 2 years ago
parent
commit
f6f4c3f73a
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      prim/.config/todo/sort.lua

+ 2
- 2
prim/.config/todo/sort.lua View File

@@ -3,7 +3,7 @@
local weight = {
base = 30,
prio = 5,
due = 1000000,
due = 1000,
}

local datefmt = "%d%d%d%d%-%d%d%-%d%d"
@@ -107,7 +107,7 @@ local function rate(s)

-- due?
if data.ext.due then
local period = datediff(data.ext.due, start)
local period = datediff(data.ext.due, start) + 1
if period <= 0 then period = 1 end
data.debug.period = period


Loading…
Cancel
Save