summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Murchison <murch@fastmail.com>2021-03-19 18:03:15 -0400
committerAllen Winter <allen.winter@kdab.com>2021-04-11 14:33:26 -0400
commitaa64e2c04ef068cf9b9018faa8f2ec367cca43c1 (patch)
tree20c7eb56d5530dec0c83cc56333cbb1d4dbb0704
parent7f9150d9f394f11dcf017af913fba464c11c0c9e (diff)
downloadlibical-git-aa64e2c04ef068cf9b9018faa8f2ec367cca43c1.tar.gz
icaltz-util.c: tweak a couple of comments
-rw-r--r--src/libical/icaltz-util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libical/icaltz-util.c b/src/libical/icaltz-util.c
index d2cf9667..196545cf 100644
--- a/src/libical/icaltz-util.c
+++ b/src/libical/icaltz-util.c
@@ -785,10 +785,10 @@ icalcomponent *icaltzutil_fetch_timezone(const char *location)
icaltime.second == zone->time.second) {
if (by_day == zone->recur.by_day[0]) {
- // Same week and day - continue
+ // Same nth weekday of the month - continue
}
else if (dow == icalrecurrencetype_day_day_of_week(zone->recur.by_day[0])) {
- // Same weekday
+ // Same weekday in the month
if (icaltime.day >= zone->recur.by_month_day[0] + 7 ||
icaltime.day + 7 <= zone->recur.by_month_day[zone->num_monthdays-1]) {
// Different week - possible RDATE
@@ -816,7 +816,7 @@ icalcomponent *icaltzutil_fetch_timezone(const char *location)
}
}
else if (icaltime.day == zone->recur.by_month_day[0]) {
- // Same monthday - remove BYDAY
+ // Same day of the month - remove BYDAY
zone->recur.by_day[0] = ICAL_RECURRENCE_ARRAY_MAX;
}
else {