Ref T11816. This logic was correct, we just did all the work and then mostly threw away the results. This worked correctly anyway in some timezones.
Instead, actually use $min_date and $max_date.
Differential D16867
Fix a bug on Calendar event day views for all day events in certain timezones epriestley on Nov 15 2016, 6:19 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Ref T11816. This logic was correct, we just did all the work and then mostly threw away the results. This worked correctly anyway in some timezones. Instead, actually use $min_date and $max_date. In "America/Toronto" with server in a more-western timezone, viewed a "Nov 11 - Nov 12" all-day event, saw those dates.
Diff Detail
|