Feature #9246
Implement locale-aware validators
Status:
Resolved
Priority:
Should have
Assignee:
Category:
Validation
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
PHP Version:
Has patch:
Complexity:
Description
Some locale-aware validators for FLOW3 Validation subsystem should be implemented.
Updated by Karol Gusak over 10 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.