From 75f95e2afc9133c704ca8e85bc28d6c910f55ee5 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 5 Jul 2020 17:48:36 +0200 Subject: [PATCH] Fix parsing todoist reminder dates (cherry picked from commit ec3fa9300b7147a2f010a4666c1caad53f733927) --- pkg/modules/migration/todoist/todoist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/modules/migration/todoist/todoist.go b/pkg/modules/migration/todoist/todoist.go index 7d521286..a506d71b 100644 --- a/pkg/modules/migration/todoist/todoist.go +++ b/pkg/modules/migration/todoist/todoist.go @@ -283,7 +283,7 @@ func convertTodoistToVikunja(sync *sync) (fullVikunjaHierachie []*models.Namespa // Put the due date together if i.Due != nil { - dueDate, err := time.Parse("2006-01-02", i.Due.Date) + dueDate, err := time.Parse("2006-01-02T15:04:05Z", i.Due.Date) if err != nil { return nil, err }