From 963fcde8c863be95cef7897b504f679f4e812ccd Mon Sep 17 00:00:00 2001 From: Suraj Date: Tue, 1 Mar 2016 00:10:08 +0530 Subject: [PATCH] forgot to remove log --- db/tasks.go | 1 - 1 file changed, 1 deletion(-) diff --git a/db/tasks.go b/db/tasks.go index ea87d80..7ce1456 100644 --- a/db/tasks.go +++ b/db/tasks.go @@ -121,7 +121,6 @@ func GetTasks(status, category string) (types.Context, error) { if task.Priority != "1" { // if priority is not 1 then calculate, else why bother? CurrentTime := time.Now().Local() diff := CurrentTime.Sub(TaskCreated).Hours() - log.Println(diff) if diff > 168 { task.IsOverdue = true // If one week then overdue by default }