16 Commits

Author SHA1 Message Date
ba6bce4e2d fixed DateValidator to work with multibyte strings
fixes #6835
2015-02-28 23:45:17 +01:00
8b5e16ed56 compare position at which date value parsing ended with its string length to ensure validation when using php intl extension to parse date value
- fixes #6553
- Add additional testValidateAttributeICUFormat() test case using "2012-12-12foo" for "yyyy-MM-dd" date format
- close #6835
2015-02-28 23:33:17 +01:00
b8c12307f1 added test for #5962 2014-11-09 23:15:20 +01:00
45e472ccb0 added unit tests for #5249 2014-09-29 23:54:38 +02:00
3ff548a442 Refactored DateValidator to support ICU format 2014-09-16 22:53:12 +02:00
83a63f2346 fixed wrong client validation issue in numbervalidator
fixes #3118
2014-04-23 01:29:53 +02:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
cb4a8c764c Refactored validators. 2013-12-06 14:19:17 -05:00
9f7ca5d222 Merge pull request #1051 from cebe/validator-message-format
Validator message format
2013-10-23 16:49:08 -07:00
c127171efb Fixes #1003: DateValidator returned true for invalid dates 2013-10-24 02:31:05 +04:00
3631890cba fixed failing validator tests 2013-10-24 00:00:32 +02:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
0c45765e7d Added tests for uncovered lines. 2013-08-18 14:39:22 +02:00
a81480d309 Improved ValidatorTest organization. 2013-08-06 19:56:05 +02:00
777ff792c4 DateValidatorTest 2013-07-31 20:12:45 +02:00