mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 05:45:33 +08:00
Chg #9953: TimestampBehavior::getValue() value processing is consistent with AttributeBehavior::getValue()
This commit is contained in:
@@ -105,6 +105,8 @@ class TimestampBehaviorTest extends TestCase
|
||||
return [
|
||||
[function() { return '2015-01-01'; }, '2015-01-01'],
|
||||
[new Expression("strftime('%Y')"), date('Y')],
|
||||
['2015-10-20', '2015-10-20'],
|
||||
[time(), time()],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user