Browse Source

#2359 Bugfix in normalizeDatetimeValue after regression test

tags/2.0.0-rc
Erik_r 10 years ago
parent
commit
a8ad3b83bd
  1. 6
      framework/base/Formatter.php

6
framework/base/Formatter.php

@ -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)) {

Loading…
Cancel
Save