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