From 8badae37312c70bc9ae68c7c6c0792033fb0dbd1 Mon Sep 17 00:00:00 2001 From: Ingo Richter Date: Sat, 8 Apr 2017 18:58:45 -0700 Subject: fix build error with older go version --- todolist/todo_item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todolist/todo_item.go') 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() { -- cgit v1.3