aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-09-06 12:47:27 -0500
committerTed Gould <ted@gould.cx>2013-09-06 12:47:27 -0500
commit55ed2b1b22607f3b9618640294d233eee15db767 (patch)
tree6de3995de459adab73bd095b6fab0123f1d0a667 /src
parentf96fb5c43dcfa24f155bda145fe53c1d87669a36 (diff)
downloadayatana-indicator-datetime-55ed2b1b22607f3b9618640294d233eee15db767.tar.gz
ayatana-indicator-datetime-55ed2b1b22607f3b9618640294d233eee15db767.tar.bz2
ayatana-indicator-datetime-55ed2b1b22607f3b9618640294d233eee15db767.zip
Making sure we have 0.1 between our bounds on the seconds
Diffstat (limited to 'src')
-rw-r--r--src/service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c
index 5fba01e..c1f8752 100644
--- a/src/service.c
+++ b/src/service.c
@@ -585,9 +585,9 @@ get_all_appointments_this_month (IndicatorDatetimeService * self)
calendar_date = get_calendar_date (self);
g_date_time_get_ymd (calendar_date, &y, &m, &d);
begin = g_date_time_new_local (y, m, 1,
- 0, 0, 0);
+ 0, 0, 0.1);
end = g_date_time_new_local (y, m, g_date_get_days_in_month(m,y),
- 23, 59, 0);
+ 23, 59, 59.9);
appointments = indicator_datetime_planner_get_appointments (p->planner,
begin,