From eab1db188eebe7de89683ed0f5596e96caecd8a9 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 1 Nov 2012 09:35:53 +0100 Subject: express all-day events in the local timezone --- src/datetime-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/datetime-service.c b/src/datetime-service.c index b34c23e..60d0cfa 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -864,7 +864,7 @@ update_appointment_menu_items (gpointer unused) // Due text if (full_day) { struct tm fulldaytime = {0}; - gmtime_r(&ci->start, &fulldaytime); + localtime_r(&ci->start, &fulldaytime); /* TRANSLATORS: This is a strftime string for the day for full day events in the menu. It should most likely be either '%A' for a full text day -- cgit v1.2.3