summaryrefslogtreecommitdiff
path: root/app/Model/TaskExport.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/TaskExport.php')
-rw-r--r--app/Model/TaskExport.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Model/TaskExport.php b/app/Model/TaskExport.php
index ed179a4f..64f5e77a 100644
--- a/app/Model/TaskExport.php
+++ b/app/Model/TaskExport.php
@@ -2,6 +2,7 @@
namespace Kanboard\Model;
+use Kanboard\Core\DateParser;
use PDO;
/**
@@ -106,7 +107,7 @@ class TaskExport extends Base
$task['score'] = $task['score'] ?: 0;
$task['swimlane_id'] = isset($swimlanes[$task['swimlane_id']]) ? $swimlanes[$task['swimlane_id']] : '?';
- $task = $this->dateParser->format($task, array('date_due', 'date_modification', 'date_creation', 'date_started', 'date_completed'), 'Y-m-d');
+ $task = $this->dateParser->format($task, array('date_due', 'date_modification', 'date_creation', 'date_started', 'date_completed'), DateParser::DATE_FORMAT);
return $task;
}