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
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -283,7 +283,7 @@ func convertTodoistToVikunja(sync *sync) (fullVikunjaHierachie []*models.Namespa
// Put the due date together // Put the due date together
if i.Due != nil { 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 { if err != nil {
return nil, err return nil, err
} }