00d506c398
completed implementation for #7177
...
added TYPE_TIME and default values for format to be chosen from
corresponding formatter variable
fixes #7177
close #10778
2016-04-26 21:56:40 +02:00
bb0ef88860
Enhancement for DateValidator ( #7177 , #10165 )
...
Added parameter to define if checking for 'date' or 'dateTime'
and updated parseDateValueIntl($value, $format) to facilitate
this validation based on defined type.
Added unit tests to for validating dateTime values when using short format validation.
close #10778
2016-04-26 19:22:41 +02:00
779b1e90ce
yii\validators\DateValidator
skip validation for timestampAttribute
, if it is already in correct format
2016-02-26 15:02:22 +02:00
9cc0e5d89d
even more 32bit friendly test
...
issue #8584
2015-06-06 02:39:19 +02:00
8e44674e7b
fixed another test to work on 32bit
...
issue #8584
2015-06-05 19:01:45 +02:00
ab9326dd26
fixed test for 32bit systems
...
fixes #8584
2015-06-05 18:58:09 +02:00
8eaacd7320
added comment to datevalidator test
...
issue #8584
2015-05-28 12:05:39 +02:00
3f24954659
Added min/max option to DateValidator.
...
Refs #7514
close #8115
2015-05-03 00:50:35 +02:00
1c41c2bd58
added DateValidator::$timestampAttributeTimeZone
...
this also makes DateValidator completly functional for validating values that include time.
issue #5053
2015-05-02 23:52:37 +02:00
d60445c066
Add DateValidator::$timestampAttributeFormat
...
includes refactoring of the formatting method to fix some major timezone issues.
fixes #5053
close #6820
2015-05-01 18:53:28 +02:00
6949992246
Simplified tests directory structure a bit
2015-04-16 12:10:01 +03:00