month-view: Make the selection range type date only

This commit is contained in:
Rami Alkawadri
2024-01-15 19:31:56 +00:00
committed by Georges Basile Stavracas Neto
parent a383ac38e0
commit c06e45f595
+1 -1
View File
@@ -807,7 +807,7 @@ on_click_gesture_released_cb (GtkGestureClick *click_gesture,
selection_start = g_date_time_ref (selection_start);
selection_end = g_date_time_add_days (selection_end, 1);
selection_range = gcal_range_new (selection_start, selection_end, GCAL_RANGE_DEFAULT);
selection_range = gcal_range_new (selection_start, selection_end, GCAL_RANGE_DATE_ONLY);
gcal_view_create_event (GCAL_VIEW (self), selection_range, x, y);
GCAL_EXIT;