diff --git a/src/DataType/AbstractDateTimeDataType.php b/src/DataType/AbstractDateTimeDataType.php index 18759b8..ef197bf 100644 --- a/src/DataType/AbstractDateTimeDataType.php +++ b/src/DataType/AbstractDateTimeDataType.php @@ -37,7 +37,7 @@ abstract class AbstractDateTimeDataType extends AbstractDataType * include colons as separators. This follows the standard's best practices, * which notes that "The basic format should be avoided in plain text." */ - const PATTERN_ISO8601 = '^(?(?-?\d{4,})(-(?\d{2}))?(-(?\d{2}))?)(?