Fix parsing todoist reminder dates

This commit is contained in:
kolaente 2020-07-05 17:48:36 +02:00
parent 9fa7e30a0a
commit ec3fa9300b
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
} }