Chg #9953: TimestampBehavior::getValue() value processing is consistent with AttributeBehavior::getValue()

This commit is contained in:
SilverFire - Dima Naumenko
2015-10-18 16:12:46 +03:00
parent bc3e556cd6
commit f38bb6ced4
4 changed files with 15 additions and 11 deletions

View File

@@ -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()],
];
}