-
Notifications
You must be signed in to change notification settings - Fork 22
Description
I made an event in my Google calender with recurrency "Every last tuesday of the month". Starting at tuesday 28 november (for 6 times).
The output from the function parseFile is an array. The recurrences part is shown below.
[RECURRENCES] => Array(
[0] => DateTime Object ( [date] => 2023-11-28 20:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam)
[1] => DateTime Object ( [date] => 2023-12-26 20:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam)
[2] => DateTime Object ( [date] => 2024-01-23 20:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam)
[3] => DateTime Object ( [date] => 2024-02-20 20:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam)
[4] => DateTime Object ( [date] => 2024-03-19 20:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam)
[5] => DateTime Object ( [date] => 2024-04-16 20:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam))
As you can see the dates are tuesdays but not last tuesdays!
I'am not a php-pro. So I cannot pinpoint the code thats causing this error.
Thanks in advance for your attention.
Wim Raaij