You are here

constant DateTimeValidator::PATTERN in Plug 7

Overrides DateValidator::PATTERN

File

lib/Symfony/validator/Symfony/Component/Validator/Constraints/DateTimeValidator.php, line 24

Class

DateTimeValidator
@author Bernhard Schussek <bschussek@gmail.com>

Namespace

Symfony\Component\Validator\Constraints

Code

const PATTERN = '/^(\\d{4})-(\\d{2})-(\\d{2}) (\\d{2}):(\\d{2}):(\\d{2})$/';