summaryrefslogtreecommitdiff
path: root/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'controllers')
-rw-r--r--controllers/task.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/controllers/task.php b/controllers/task.php
index 89e1ee6c..fba4d4f5 100644
--- a/controllers/task.php
+++ b/controllers/task.php
@@ -216,6 +216,10 @@ class Task extends Base
if (! $task) $this->notfound();
$this->checkProjectPermissions($task['project_id']);
+ if (! empty($task['date_due'])) {
+ $task['date_due'] = date(t('m/d/Y'), $task['date_due']);
+ }
+
$this->response->html($this->template->layout('task_edit', array(
'errors' => array(),
'values' => $task,