mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-21 06:20:17 +00:00
test: remove dependency on the current date
This commit is contained in:
parent
33509866fb
commit
bc1bbd3da0
@ -93,7 +93,7 @@ END:VCALENDAR
|
|||||||
* rather than making SQL queries
|
* rather than making SQL queries
|
||||||
*/
|
*/
|
||||||
function get_freebusyish(vCalendar $cal) {
|
function get_freebusyish(vCalendar $cal) {
|
||||||
$expansion = expand_event_instances($cal)->GetComponents(['VEVENT' => true]);
|
$expansion = expand_event_instances($cal, new RepeatRuleDateTime('2019-01-01 00:00:00'))->GetComponents(['VEVENT' => true]);
|
||||||
|
|
||||||
$result = array();
|
$result = array();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user