summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Controller/Calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Calendar.php b/app/Controller/Calendar.php
index 2a11edab..6cfa2bad 100644
--- a/app/Controller/Calendar.php
+++ b/app/Controller/Calendar.php
@@ -98,7 +98,7 @@ class Calendar extends Base
$this->taskModification->update(array(
'id' => $values['task_id'],
- 'date_due' => $values['date_due'],
+ 'date_due' => substr($values['date_due'], 0, 10),
));
}
}