summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Murchison <murch@fastmail.com>2021-03-20 06:41:58 -0400
committerAllen Winter <allen.winter@kdab.com>2021-04-11 14:33:43 -0400
commit0119d1361503b6c8ef067ca757f8e86a9cacf15c (patch)
tree6646c49570e6b963e5510ab3adbca301452bc5ee
parent375504d8ddce868d7667b3da8a47b906d9f73965 (diff)
downloadlibical-git-0119d1361503b6c8ef067ca757f8e86a9cacf15c.tar.gz
icaltz-util.c: fix a comment
-rw-r--r--src/libical/icaltz-util.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libical/icaltz-util.c b/src/libical/icaltz-util.c
index 9babd25f..b88af3a9 100644
--- a/src/libical/icaltz-util.c
+++ b/src/libical/icaltz-util.c
@@ -744,12 +744,7 @@ icalcomponent *icaltzutil_fetch_timezone(const char *location)
start = transitions[i] + types[prev_idx].gmtoff;
icaltime = icaltime_from_timet_with_zone(start, 0, NULL);
- /* Flag this as the last transition time for the zone, if:
- this is the last transition time overall, OR
- this is the penultimate transition time, AND either
- we have a TZ string for future transitions, OR
- the last two transitions have different time types
- */
+ // The last two transition times are DTSTART for the TZ string RRULEs
if (tzstr && (i >= num_trans - 2)) {
last_trans = 1;
}