summaryrefslogtreecommitdiff
path: root/app/Helper/DateHelper.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-24 20:16:43 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-24 20:16:43 -0500
commit81d14efbd1627827a826eecd54fb17121f952921 (patch)
tree630a8b0be1f8c28c8a9f9483a198508df59b6602 /app/Helper/DateHelper.php
parentd81fb20df66fd77e41f0f7d573e60b856b1e9f8a (diff)
Simplify date and time configuration to avoid potential validation issues
Diffstat (limited to 'app/Helper/DateHelper.php')
-rw-r--r--app/Helper/DateHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Helper/DateHelper.php b/app/Helper/DateHelper.php
index 7e2ec79c..3bc85b76 100644
--- a/app/Helper/DateHelper.php
+++ b/app/Helper/DateHelper.php
@@ -54,7 +54,7 @@ class DateHelper extends Base
*/
public function datetime($value)
{
- return date($this->configModel->get('application_datetime_format', 'm/d/Y H:i'), $value);
+ return date($this->dateParser->getUserDateTimeFormat(), $value);
}
/**