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.
master
Andrew P Maney 5 years ago committed by Tom Hacohen
parent b6b46d2b24
commit 5eea4e89a5

@ -173,7 +173,7 @@ class TaskEdit extends React.PureComponent<PropsType> {
return ret;
} else {
const data = ret.toJSON();
data.isDate = false;
data.isDate = true;
return ICAL.Time.fromData(data);
}
}

Loading…
Cancel
Save