Fix parsing todoist reminder dates
(cherry picked from commit ec3fa9300b
)
This commit is contained in:
parent
13bed6f749
commit
75f95e2afc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue