1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2025-02-20 09:54:16 +01:00

Update exception message for UNTIL parse error

This commit is contained in:
Brian 2017-01-22 13:05:42 -05:00 committed by GitHub
parent 8d54335802
commit 2b77002988

View File

@ -724,7 +724,7 @@ class RRule implements RRuleInterface
if ( $key === 'UNTIL' ) {
if ( ! preg_match($rfc_date_regexp, $value) ) {
throw new \InvalidArgumentException(
'Invalid DTSTART property: date or date time format incorrect'
'Invalid UNTIL property: date or date time format incorrect'
);
}
switch ( $dtstart_type ) {