diff options
Diffstat (limited to 'calendar/cal-util/cal-recur.c')
-rw-r--r-- | calendar/cal-util/cal-recur.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/cal-util/cal-recur.c b/calendar/cal-util/cal-recur.c index 9afcee9784..83a0bccae9 100644 --- a/calendar/cal-util/cal-recur.c +++ b/calendar/cal-util/cal-recur.c @@ -878,9 +878,14 @@ cal_recur_from_icalproperty (icalproperty *prop, gboolean exception, ir.until.hour = 23; ir.until.minute = 59; ir.until.second = 59; + ir.until.is_date = FALSE; r->enddate = icaltime_as_timet_with_zone (ir.until, zone); +#if 0 + g_print (" until: %li - %s", r->enddate, ctime (&r->enddate)); +#endif + } else { /* If UNTIL is a DATE-TIME, it must be in UTC. */ icaltimezone *utc_zone; |