Fix parsing todoist reminder dates
continuous-integration/drone/push Build is passing Details

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