From 81d14efbd1627827a826eecd54fb17121f952921 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 24 Jan 2017 20:16:43 -0500 Subject: Simplify date and time configuration to avoid potential validation issues --- app/Helper/DateHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Helper/DateHelper.php') 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); } /** -- cgit v1.2.3