mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +08:00 
			
		
		
		
	#2359 Bugfix in normalizeDatetimeValue after regression test
This commit is contained in:
		@ -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)) {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user