From 68f11e1f0e073b053ad864a42bf6eb8634b6e165 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@enhancesoft.com> Date: Wed, 4 Sep 2019 15:17:48 +0000 Subject: [PATCH] Lint Fix --- include/class.forms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.forms.php b/include/class.forms.php index 14bbd05be..8805ae97d 100644 --- a/include/class.forms.php +++ b/include/class.forms.php @@ -4505,7 +4505,7 @@ class DatetimePickerWidget extends Widget { // See if we have time $data = $this->field->getSource(); // Parse value into datetime object - $dt = Format::parseDatetime($value); + $dt = Format::parseDateTime($value); // Effective timezone for the selection if (($timezone = $this->field->getTimezone())) $dt->setTimezone($timezone); -- GitLab