summaryrefslogtreecommitdiff
path: root/app/Controller/TaskViewController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-05 21:28:56 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-05 21:28:56 -0400
commit656f4306325d7944280ce111d95aeaeacab8d3cd (patch)
tree9fe6e6631b2b1d14feb1344e2b78186db9a07a04 /app/Controller/TaskViewController.php
parent33098e4e11ba451d0b4fed7f8f41820e2bb66bd4 (diff)
Changed DateParser to use only user format and ISO-8601
Diffstat (limited to 'app/Controller/TaskViewController.php')
-rw-r--r--app/Controller/TaskViewController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/TaskViewController.php b/app/Controller/TaskViewController.php
index 2a79ee45..073434b2 100644
--- a/app/Controller/TaskViewController.php
+++ b/app/Controller/TaskViewController.php
@@ -70,7 +70,7 @@ class TaskViewController extends BaseController
'time_spent' => $task['time_spent'] ?: '',
);
- $values = $this->dateParser->format($values, array('date_started'), $this->configModel->get('application_datetime_format', DateParser::DATE_TIME_FORMAT));
+ $values = $this->dateParser->format($values, array('date_started'), $this->dateParser->getUserDateTimeFormat());
$this->response->html($this->helper->layout->task('task/show', array(
'task' => $task,