Do not convert compared times to UTC.
authorArt Cancro <ajc@citadel.org>
Thu, 21 Mar 2024 18:30:29 +0000 (11:30 -0700)
committerArt Cancro <ajc@citadel.org>
Thu, 21 Mar 2024 18:30:29 +0000 (11:30 -0700)
commita0bffa36078be5c70149923399fba348494d8e5c
tree9b4dc0a8ae771a1e756aec039b887d4ff2bbef65
parent40a364d8cd88d0f2966b89a4ba618987485fddf1
Do not convert compared times to UTC.

ical_ctdl_is_overlap() works because icaltime_compare() is really smart.
It looks at the time zone of the dtstart/dtend and can apparently go back up the icalcomponent
hierarchy to find its time zone data.  I tested this by creating an event with a fictional
time zone and it did the right thing.  It even showed the fictional name to me.  This saves us
from having to convert everything to UTC before comparing.  Nice!
citadel/server/modules/calendar/ical_ctdl_is_overlap.c
webcit-ng/server/caldav_reports.c