recurrence: fix GDateTime to icaltime conversion
The month and year values extracted from until-date of recurrences were accidentally interchanged. This patch fixes that issue by making the correct assignment. https://bugzilla.gnome.org/show_bug.cgi?id=782755
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
1c710769d7
commit
7ab4036335
@@ -248,8 +248,8 @@ gcal_recurrence_to_rrule (GcalRecurrence *recur)
|
||||
rrule->until.minute = g_date_time_get_minute (recur->limit.until);
|
||||
rrule->until.hour = g_date_time_get_hour (recur->limit.until);
|
||||
rrule->until.day = g_date_time_get_day_of_month (recur->limit.until);
|
||||
rrule->until.month = g_date_time_get_year (recur->limit.until);
|
||||
rrule->until.year = g_date_time_get_month (recur->limit.until);
|
||||
rrule->until.month = g_date_time_get_month (recur->limit.until);
|
||||
rrule->until.year = g_date_time_get_year (recur->limit.until);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user