summaryrefslogtreecommitdiff
path: root/app/Model/TaskCreation.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-07 19:15:53 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-07 19:15:53 -0400
commit58297ca3b11b9ad526a8ac344e5ac56d9e1b5a13 (patch)
treec20ff7b7463e0fa97667a2f17c482c85e015f7e3 /app/Model/TaskCreation.php
parent5e7e03a866459047b677e57be33eee991aa57214 (diff)
Add datetime picker for start date
Diffstat (limited to 'app/Model/TaskCreation.php')
-rw-r--r--app/Model/TaskCreation.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Model/TaskCreation.php b/app/Model/TaskCreation.php
index 893cbc43..b444a190 100644
--- a/app/Model/TaskCreation.php
+++ b/app/Model/TaskCreation.php
@@ -43,7 +43,8 @@ class TaskCreation extends Base
*/
public function prepare(array &$values)
{
- $this->dateParser->convert($values, array('date_due', 'date_started'));
+ $this->dateParser->convert($values, array('date_due'));
+ $this->dateParser->convert($values, array('date_started'), true);
$this->removeFields($values, array('another_task'));
$this->resetFields($values, array('owner_id', 'swimlane_id', 'date_due', 'score', 'category_id', 'time_estimated'));