Fix parsing todoist reminder dates

(cherry picked from commit ec3fa9300b)
This commit is contained in:
kolaente 2020-07-05 17:48:36 +02:00
parent 13bed6f749
commit 75f95e2afc
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -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
}