Commit 19ef2603 authored by Ricki Hirner's avatar Ricki Hirner

Allow invalid DATE-type COMPLETED fields

parent d4370ed9
......@@ -285,7 +285,7 @@ public abstract class AndroidTask {
if (task.completedAt != null) {
// COMPLETED must always be a DATE-TIME
builder .withValue(Tasks.COMPLETED, task.completedAt.getDateTime().getTime())
builder .withValue(Tasks.COMPLETED, task.completedAt.getDate().getTime())
.withValue(Tasks.COMPLETED_IS_ALLDAY, 0);
}
builder.withValue(Tasks.PERCENT_COMPLETE, task.percentComplete);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment