From 2b77002988cfcd8bcabd21bc79dc2e5eaecb1164 Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 22 Jan 2017 13:05:42 -0500 Subject: [PATCH] Update exception message for UNTIL parse error --- src/RRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RRule.php b/src/RRule.php index ec97493..0eba024 100755 --- a/src/RRule.php +++ b/src/RRule.php @@ -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 ) {