Commit a8ad3b83 by Erik_r

#2359 Bugfix in normalizeDatetimeValue after regression test

parent 0a10e92f
...@@ -1204,9 +1204,9 @@ class Formatter extends yii\base\Component ...@@ -1204,9 +1204,9 @@ class Formatter extends yii\base\Component
} }
} else { } else {
$FormatPatterns = $this->dbFormat; $FormatPatterns = $this->dbFormat;
$FormatPatterns['date'] = $this->dateFormat; $FormatPatterns['locDate'] = $this->dateFormat;
$FormatPatterns['time'] = $this->timeFormat; $FormatPatterns['locTime'] = $this->timeFormat;
$FormatPatterns['datetime'] = $this->datetimeFormat; $FormatPatterns['locDatetime'] = $this->datetimeFormat;
} }
if (is_string($value)) { if (is_string($value)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment