From a8ad3b83bd2a0534b717c444528c142498570940 Mon Sep 17 00:00:00 2001 From: Erik_r Date: Fri, 13 Jun 2014 16:02:20 +0200 Subject: [PATCH] #2359 Bugfix in normalizeDatetimeValue after regression test --- framework/base/Formatter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/base/Formatter.php b/framework/base/Formatter.php index d484ab9..b84200d 100644 --- a/framework/base/Formatter.php +++ b/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)) {