Include more info in DONE

This commit is contained in:
Joscha 2021-11-24 03:03:24 +01:00
parent 0bb01369b8
commit bfbf53784b
5 changed files with 94 additions and 34 deletions

View file

@ -107,8 +107,13 @@ from = !{ "FROM" ~ datum ~ eol }
until = !{ "UNTIL" ~ datum ~ eol }
except = !{ "EXCEPT" ~ datum ~ eol }
donedate = { "(" ~ datum ~ time ~ ")" }
done = !{ "DONE" ~ datum? ~ donedate? ~ eol }
donedate = {
datum ~ time ~ "--" ~ datum ~ time
| datum ~ time
| datum ~ "--" ~ datum
| datum
}
done = !{ "DONE" ~ "[" ~ datum ~ "]" ~ donedate? ~ eol }
desc_line = { "#" ~ (" " ~ rest_any)? ~ eol }
description = { desc_line* }