From b076314018e4b53d745823754a26eb6fb73a2801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 19 Oct 2016 05:08:19 +0200 Subject: New upstream version 0.24.1 --- src/Event.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Event.vala') diff --git a/src/Event.vala b/src/Event.vala index 3518cab..084df97 100644 --- a/src/Event.vala +++ b/src/Event.vala @@ -617,8 +617,10 @@ public class Event : EventSource, ContainerSource, Proxyable, Indexable { // if the earliest's exposure time was on the day but *before* the boundary hour, // step it back a day to the prior day's boundary - if (earliest_tm.hour < EVENT_BOUNDARY_HOUR) + if (earliest_tm.hour < EVENT_BOUNDARY_HOUR) { + debug("Hour before boundary, shifting back one day"); start_boundary -= TIME_T_DAY; + } time_t end_boundary = (start_boundary + TIME_T_DAY - 1); -- cgit v1.2.3