From 9e4eac94fc7ccc75109782ae45a39082572bd2c6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 21 Mar 2015 11:57:53 -0400 Subject: Fix bug wrong due date after moving a task on the calendar --- app/Controller/Calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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), )); } } -- cgit v1.2.3