diff options
| author | Ingo Richter <ingo.richter+github@gmail.com> | 2017-04-08 18:58:45 -0700 |
|---|---|---|
| committer | Ingo Richter <ingo.richter+github@gmail.com> | 2017-04-08 18:58:45 -0700 |
| commit | 8badae37312c70bc9ae68c7c6c0792033fb0dbd1 (patch) | |
| tree | 651dfc58c6c144bd1349dfe6a74c9aed477cf13f /todolist/todo_item.go | |
| parent | d2df602c25afe3193e2b4d434042b47de64a00e6 (diff) | |
fix build error with older go version
Diffstat (limited to 'todolist/todo_item.go')
| -rw-r--r-- | todolist/todo_item.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/todolist/todo_item.go b/todolist/todo_item.go index c208f9f..859e946 100644 --- a/todolist/todo_item.go +++ b/todolist/todo_item.go @@ -37,7 +37,7 @@ func (t Todo) CalculateDueTime() time.Time { func (t *Todo) Complete() { t.Completed = true - t.CompletedDate = bod(time.Now()).Format(ISO8601_TIMESTAMP_FORMAT) + t.CompletedDate = timestamp(time.Now()).Format(ISO8601_TIMESTAMP_FORMAT) } func (t *Todo) Uncomplete() { |
