Releases: rlanvin/php-rrule
Releases · rlanvin/php-rrule
v1.4.1
Fixed
RRule::offsetGet
andRSet::offsetGet
throwInvalidArgumentException
for illegal offset types #22- Update exception message for UNTIL parse error #23
- Fix parser handling of UNTIL when DTSTART is not provided #25
- Accept invalid RFC strings generated by the JS lib but triggers a Notice message #25
- Rework
RRule::i18nLoad()
to accept locales such asen_sg
and useLocale::parseLocale
when possible #24 - Fix
humanReadable
fails withintl
enable when the timezone is "Z" #24
v1.4.0
Added
- Add
RRule::getRule()
method to return original rule array #17 - Add
RSet::getRRules()
,RSet::getExRules()
,RSet::getDates()
andRSet::getExDates()
- Tests for PHP 7.0
Fixed
- Fix a bug in
rfcString
when using a frequency constant (instead of a string) to create the rule #16 - Fix a undefined index bug in RFC parser
v1.3.1
v1.3.0
Added
- Spanish translation (es) #12
$include_timezone
parameter toRRule::rfcString()
to produce a RFC string without timezone information
Fixed
RRule::parseRfcString()
is strictier and will not accept invalidDTSTART
andUNTIL
formats (use the array syntax in the constructor withDateTime
objects if you need to create rules with complex combinations of timezones). #13
v1.2.0
v1.1.0
Added
- New class
RRule\RSet
(recurrence set) that can combine multiple RRULE, EXRULE, RDATE and EXDATE. #7 - New interface
RRule\RRuleInterface
to unifyRRule
andRSet
- New methods:
isFinite()
,isInfinite()
Fixed
- Fix bug preventing the iteration of multiple instances of RRule at the same time
- Fix occursAt failing when the date passed was a different timezone #8
- Fix bug at WEEKLY frequency with a partially filled cache in some circumstances
- Fix various reference bugs causing corruption of the cache in some circumstances (related to DateTime object being mutable)
Removed
- The alias
RRule::occursOn
has been removed (useoccursAt
instead)