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:
parent
8d54335802
commit
2b77002988
@ -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 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user