Commit 874a8f3b authored by Bram Schoenmakers's avatar Bram Schoenmakers

Set the creation date when advancing a recurring todo.

parent d1597160
...@@ -46,4 +46,6 @@ def advance_recurring_todo(p_todo): ...@@ -46,4 +46,6 @@ def advance_recurring_todo(p_todo):
new_start = new_due - timedelta(length) new_start = new_due - timedelta(length)
todo.set_tag(Config.TAG_START, new_start.isoformat()) todo.set_tag(Config.TAG_START, new_start.isoformat())
todo.set_creation_date(date.today())
return todo return todo
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment