event: really fix multiday check
The time difference should've been greater than zero since the beginning.
This commit is contained in:
+1
-1
@@ -1535,7 +1535,7 @@ gcal_event_is_multiday (GcalEvent *self)
|
||||
g_date_time_get_month (local_end_date),
|
||||
g_date_time_get_year (local_end_date));
|
||||
|
||||
return g_date_days_between (&start_dt, &end_dt) > 1;
|
||||
return g_date_days_between (&start_dt, &end_dt) > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user