summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Murchison <murch@fastmail.com>2021-03-19 15:58:17 -0400
committerAllen Winter <allen.winter@kdab.com>2021-04-11 14:30:22 -0400
commit9ed70d1958ef2dc27a38fbf9ca94ed3f567cb73b (patch)
tree4cac9cadd72369cb615ef58190528085e2e687c4
parent0ca676e3b7cdc27b0a26084feb344d67aab66086 (diff)
downloadlibical-git-9ed70d1958ef2dc27a38fbf9ca94ed3f567cb73b.tar.gz
icaltz-util.c: MUST NOT use previous component for RDATEs when the zone name/offsets have changed
-rw-r--r--src/libical/icaltz-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libical/icaltz-util.c b/src/libical/icaltz-util.c
index b6735a93..ae3b0b63 100644
--- a/src/libical/icaltz-util.c
+++ b/src/libical/icaltz-util.c
@@ -767,6 +767,7 @@ icalcomponent *icaltzutil_fetch_timezone(const char *location)
types[idx].gmtoff != zone->gmtoff_to ||
strcmp(types[idx].zname, zone->name)) {
+ zone->rdate_comp = NULL;
terminate = 1;
}
// Check if most of the recurrence pattern is the same