From 5eea4e89a597c90d146b9e807640bf9436610790 Mon Sep 17 00:00:00 2001 From: Andrew P Maney Date: Fri, 27 Mar 2020 18:00:40 -0700 Subject: [PATCH] Task edit: fix DateTime's not being properly stored I messed up a boolean value with my previous pull request. It was causing DateTimes to be stored as Dates and vice-versa. --- src/components/Tasks/TaskEdit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tasks/TaskEdit.tsx b/src/components/Tasks/TaskEdit.tsx index 0157239..5b09f85 100644 --- a/src/components/Tasks/TaskEdit.tsx +++ b/src/components/Tasks/TaskEdit.tsx @@ -173,7 +173,7 @@ class TaskEdit extends React.PureComponent { return ret; } else { const data = ret.toJSON(); - data.isDate = false; + data.isDate = true; return ICAL.Time.fromData(data); } }