diff options
author | Milan Crha <mcrha@redhat.com> | 2010-11-30 23:18:42 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-11-30 23:18:42 +0800 |
commit | a1a842ac20eee58037c3c3db159f3d2768ca9efe (patch) | |
tree | fe300e474ea8a6f059ffb8a78ab577f95e836da3 /calendar/gui/alarm-notify/alarm-queue.c | |
parent | 6ed4050d05c965e07dbc703890e3bcd171f315ce (diff) | |
download | gsoc2013-evolution-a1a842ac20eee58037c3c3db159f3d2768ca9efe.tar.gz gsoc2013-evolution-a1a842ac20eee58037c3c3db159f3d2768ca9efe.tar.zst gsoc2013-evolution-a1a842ac20eee58037c3c3db159f3d2768ca9efe.zip |
Default to beginning of the day for the last alarm notification
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-queue.c')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index e8b3f86201..38db9368e6 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -1867,7 +1867,7 @@ alarm_queue_init (gpointer data) queue_midnight_refresh (); if (config_data_get_last_notification_time (NULL) == -1) { - time_t tmval = time (NULL); + time_t tmval = time_day_begin (time (NULL)); d(printf("%s:%d (alarm_queue_init) - Setting last notification time to %s\n",__FILE__, __LINE__, e_ctime(&tmval))); config_data_set_last_notification_time (NULL, tmval); } |