Feature #9246
Implement locale-aware validators
Status: | Resolved | Start date: | ||
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karol Gusak | % Done: | 100% |
|
Category: | Validation | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 11 | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
Some locale-aware validators for FLOW3 Validation subsystem should be implemented.
Associated revisions
[+FEATURE] FLOW3 (I18n): Locale-aware validators added. Relates to #9246.
Change-Id: I5e5bd5d22a15079e30550d8a29e32fd3b13550cc
History
#1 Updated by Karol Gusak almost 5 years ago
- Category changed from I18n to Validation
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Changed NumberValidator
and DateTimeValidator
so they use I18n
subpackage and it's functionality. This is how I see them, however I'm not sure about the DateTimeValidator
, as it was validating DateTime
objects before, and now it's validating date and / or time strings. I'd rather name it the DatetimeValidator
(with lower T, as in DatetimeParser
and DatetimeFormatter
in I18n
), but the DateTimeValidator
should be removed (is it really needed?) in order to avoid confusing naming.
#2 Updated by Karsten Dambekalns almost 5 years ago
- Target version set to 1.0 alpha 11