Carsten Brandt
5bbf372f85
cleanup some phpdoc
8 years ago
Sam
06967f9018
Fixes #13254 : Core validators no longer require Yii::$app to be set
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Carsten Brandt
64ed8c9112
added note about timezone conversion to DateValidator
...
fixes #11692
8 years ago
Alexander Makarov
9b1b4fc5fa
Added missing phpdoc
8 years ago
Carsten Brandt
84e9c40ca1
updated datevalidator docs
...
issue #11692
8 years ago
Carsten Brandt
00d506c398
completed implementation for #7177
...
added TYPE_TIME and default values for format to be chosen from
corresponding formatter variable
fixes #7177
close #10778
9 years ago
Robbert Jan
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
9 years ago
Klimov Paul
2cf7e35074
Check for timestamp at `yii\validators\DateValidator` improved
9 years ago
Klimov Paul
779b1e90ce
`yii\validators\DateValidator` skip validation for `timestampAttribute`, if it is already in correct format
9 years ago
Carsten Brandt
cd84f6c4c5
typo in DateValidator docs
9 years ago
Sebastian Chojniak
6ee285f321
unused imports removed
9 years ago
Alexander Mohorev
ae42a054bb
PSR-2 spaces, commas, etc
9 years ago
Alexander Mohorev
3ec0d94b4a
Remove unused variable
9 years ago
Carsten Brandt
23b31d13de
improve documentation of date validator
...
fixes #7514
10 years ago
Nikola Kovacs
3f24954659
Added min/max option to DateValidator.
...
Refs #7514
close #8115
10 years ago
Carsten Brandt
cf51d46a75
keep BC in internal implamentation of DateValidator
...
prepare for #8115
10 years ago
Carsten Brandt
1c41c2bd58
added DateValidator::$timestampAttributeTimeZone
...
this also makes DateValidator completly functional for validating values that include time.
issue #5053
10 years ago
Carsten Brandt
d60445c066
Add DateValidator::$timestampAttributeFormat
...
includes refactoring of the formatting method to fix some major timezone issues.
fixes #5053
close #6820
10 years ago
Carsten Brandt
ef662b57be
added missing `@since` annotations
10 years ago
Carsten Brandt
2a23520618
added documentation about handling date values
...
fixes #6530
fixes #5857
relates to #3973
10 years ago
Carsten Brandt
ba6bce4e2d
fixed DateValidator to work with multibyte strings
...
fixes #6835
10 years ago
Yoyon Cahyono
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
10 years ago
Carsten Brandt
58becaceab
suppress warning thrown by IntlDateFormatter::parse()
...
Works around PHP Bug https://bugs.php.net/bug.php?id=68528
fixes #5962
10 years ago
Qiang Xue
d13d274d05
renamed $object to $model
10 years ago
Alexander Makarov
02622b6fe4
phpdoc fixes and additions
10 years ago
Carsten Brandt
3ff548a442
Refactored DateValidator to support ICU format
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Carsten Brandt
5eed149f24
fixed links in phpdoc
11 years ago
Qiang Xue
cb4a8c764c
Refactored validators.
11 years ago
Qiang Xue
b9f9b16536
Apply fix for #1003 to validateAttribute.
11 years ago
Alexander Makarov
c127171efb
Fixes #1003 : DateValidator returned true for invalid dates
11 years ago
resurtm
7a7d2a9c06
CS fixes.
11 years ago
Qiang Xue
8157ea5804
Fixes issue #481 .
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
fb5993af40
Fixes issue #251 : changed the signature of t() to be the same as v1.1
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
ae6c69fc8f
refacotring validators.
12 years ago
Qiang Xue
86f947e9ef
Finished DateValidator.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
3c1452e84b
Changed the separator of message category.
12 years ago
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Alexander Makarov
083ca919d3
validators
13 years ago
Alexander Makarov
a33d152d77
removed package and version tags
13 years ago
Alexander Makarov
f8ea58826e
cleaned up @since
13 years ago
Qiang Xue
0c7a75bef7
w
13 years ago