Releases: rlanvin/php-rrule
Releases · rlanvin/php-rrule
v2.1.0
Fixed
- Fix locale format for i18n files without
intl
extension #67
Added
- Added new methods to
RSet
: removeDate
, clearDates
, removeExDate
and clearExDates
#66
v2.0.0
- Rewrite the core algorithm to use a native PHP generator, drop compability with PHP < 5.6 #43
- Add support for PHP 7.3
Added
- New option
custom_path
to humanReadable()
to use custom translation files #56
- New helpers methods #60
getOccurrencesBefore
getOccurrencesAfter
getNthOccurrencesBefore
getNthOccurrencesAfter
getNthOccurrencesFrom
v2.0.0-rc1
- Rewrite the core algorithm to use a native PHP generator, drop compability with PHP < 5.6 #43
Added
- New option
custom_path
to humanReadable()
to use custom translation files #56
- New helpers methods #60
getOccurrencesBefore
getOccurrencesAfter
getNthOccurrencesBefore
getNthOccurrencesAfter
getNthOccurrencesFrom
v1.6.3
Fixed
- Fix error when timezone is an offset instead of an olson name. #61
- Fix VALUE is a valid param of EXDATE #62
v1.6.2
Fixed
- Fix typo in NL translation #53
v1.6.1
Fixed
- Null check to prevent 0 (false) values being lost when exporting to RFC string #50
- Fix warning in
humanReadable()
#44
- Fix typo in NL translation #46
v1.6.0
Added
- German translation #38
- Add
include_until
option to humanReadable
to omit the "until" part of the rule #36
v1.5.1
Fixed
- Throw exception when passing a float instead of an int (e.g. INTERVAL=1.5) instead of casting silently
- Variable name typo #34
v1.5.0
Added
- Add
explicit_infinite
and include_start
options to humanReadable
to respectivity omit "forever" and the start date from the sentence.
- RSet constructor now accepts a string to build a RSET from a RFC string #26
- New factory method
RRule::createFromRfcString()
to build either a RRule or a RSet from a string
- Add a
$limit
parameter to getOccurrences()
and getOccurrencesBetween()
to make working with infinite rule easier
- Add a
$dtstart
parameter to RRule
and RSet
constsructor to specify dtstart when working with a RFC string without DTSTART.
Fixed
- When creating a RRule, the RFC parser will not accept multiple DTSTART or RRULE lines
Deprecated
RRule::parseRfcString
is deprecated. Note: it wasn't part of the documentation in the first place, but just in case someone is using it, it's not removed yet.
v1.4.2
Fixed
humanReadable()
fails if the RRule was created from a RFC string containing the timezone (e.g. DTSTART;TZID=America/New_York:19970901T090000
)