diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-03-21 11:57:53 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-03-21 11:57:53 -0400 |
commit | 9e4eac94fc7ccc75109782ae45a39082572bd2c6 (patch) | |
tree | fbade327db6b79c07cb5f20716c873ee6e5f2eed /app/Controller | |
parent | 61358710c226ad61e1161a36fd4d85bb0e4e6443 (diff) |
Fix bug wrong due date after moving a task on the calendar
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Calendar.php | 2 |
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), )); } } |