Add tests for trigistodo, trigcompletethrough, trigmaxoverdue

This commit is contained in:
Dianne Skoll
2025-08-15 15:22:39 -04:00
parent 5ee415c2fb
commit b770676cb6
2 changed files with 11 additions and 2 deletions

View File

@@ -178,9 +178,9 @@
"ostype" "pad" "plural" "psmoon" "psshade" "realcurrent" "realnow"
"realtoday" "rows" "sgn" "shell" "shellescape" "slide" "soleq"
"stdout" "strlen" "substr" "sunrise" "sunset" "time" "timepart"
"timezone" "today" "trig" "trigback" "trigbase" "trigdate" "trigdatetime"
"timezone" "today" "trig" "trigback" "trigbase" "trigcompletethrough" "trigdate" "trigdatetime"
"trigdelta" "trigduration" "trigeventduration" "trigeventstart"
"trigfrom" "trigger" "triginfo" "trigpriority" "trigrep"
"trigfrom" "trigger" "triginfo" "trigistodo" "trigmaxoverdue" "trigpriority" "trigrep"
"trigscanfrom" "trigtags" "trigtime" "trigtimedelta" "trigtimerep"
"triguntil" "trigvalid" "typeof" "tzconvert" "upper" "utctolocal"
"value" "version" "weekno" "wkday" "wkdaynum" "year"

View File

@@ -24619,6 +24619,7 @@ today
trig
trigback
trigbase
trigcompletethrough
trigdate
trigdatetime
trigdelta
@@ -24628,6 +24629,8 @@ trigeventstart
trigfrom
trigger
triginfo
trigistodo
trigmaxoverdue
trigpriority
trigrep
trigscanfrom
@@ -39549,6 +39552,12 @@ On odd days
2000/06/30 * * * * On days divisible by 5
Testing TODOS in agenda mode
trigistodo() => 1
trigcompletethrough() => 2024-12-31
trigmaxoverdue() => 3
trigistodo() => 0
trigcompletethrough() => 0
trigmaxoverdue() => -1
First on 2025-08-01
Second on 2022-08-01
Third on 2023-08-01