always write ts, when a todo with schedule deleted, conditionally go back to schedule for loopers

This commit is contained in:
Bel LaPointe
2022-03-24 09:18:19 -06:00
parent 1b1ed01937
commit 21ccb7ff4c
3 changed files with 37 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ func (todo Todo) Triggered() bool {
}
func (todo Todo) MarshalYAML() (interface{}, error) {
if !todo.writeTS {
if false && !todo.writeTS {
todo.TS = 0
} else {
todo.TS = TS(todo.TS.time().Unix())