mirror of
https://github.com/rlanvin/php-rrule.git
synced 2025-02-21 10:54:14 +01:00
Removing occursOn (use occursAt)
This commit is contained in:
parent
d949e96c59
commit
ea059ca381
@ -13,6 +13,10 @@
|
|||||||
- Fix bug preventing the iteration of multiple instances of RRule at the same time
|
- Fix bug preventing the iteration of multiple instances of RRule at the same time
|
||||||
- Fix various bugs causing corruption of the cache in some circumstances (related to DateTime object being mutable)
|
- Fix various bugs causing corruption of the cache in some circumstances (related to DateTime object being mutable)
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- The alias `RRule::occursOn` has been removed (use `occursAt` instead)
|
||||||
|
|
||||||
## [1.0.1] - 2016-03-11
|
## [1.0.1] - 2016-03-11
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -719,16 +719,6 @@ class RRule implements RRuleInterface
|
|||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Alias of occursAt
|
|
||||||
* Because I think both are correct in English, aren't they?
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
public function occursOn($date)
|
|
||||||
{
|
|
||||||
return $this->occursAt($date);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return true if $date is an occurrence of the rule.
|
* Return true if $date is an occurrence of the rule.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user