#2359 Bugfix in normalizeDatetimeValue after regression test

This commit is contained in:
Erik_r
2014-06-13 16:02:20 +02:00
parent 0a10e92f92
commit a8ad3b83bd

View File

@ -1204,9 +1204,9 @@ class Formatter extends yii\base\Component
}
} else {
$FormatPatterns = $this->dbFormat;
$FormatPatterns['date'] = $this->dateFormat;
$FormatPatterns['time'] = $this->timeFormat;
$FormatPatterns['datetime'] = $this->datetimeFormat;
$FormatPatterns['locDate'] = $this->dateFormat;
$FormatPatterns['locTime'] = $this->timeFormat;
$FormatPatterns['locDatetime'] = $this->datetimeFormat;
}
if (is_string($value)) {