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

Loading…
Cancel
Save