We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 973cf6d commit f5e083bCopy full SHA for f5e083b
lib/email/ical.cpp
@@ -1834,8 +1834,9 @@ bool ical_parse_rrule(const ical_component *ptz_component,
1834
time_t until_time;
1835
if (!ical_parse_until(ptz_component, pvalue, &until_time))
1836
return false;
1837
- if (until_time <= start_time)
+ if (until_time < start_time)
1838
1839
+ /* until==start can happen with a recurrent series with one occurrence */
1840
pirrule->b_until = true;
1841
ical_utc_to_datetime(ptz_component,
1842
until_time, &pirrule->until_itime);
0 commit comments