aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-11-01 09:35:53 +0100
committerCharles Kerr <charles.kerr@canonical.com>2012-11-01 09:35:53 +0100
commiteab1db188eebe7de89683ed0f5596e96caecd8a9 (patch)
treea0aeb4c5392660ac2be05e24381c950dce51b3f4 /src/datetime-service.c
parentef2b5d3c80fc35a11e165c5751c63d8763993e3a (diff)
downloadayatana-indicator-datetime-eab1db188eebe7de89683ed0f5596e96caecd8a9.tar.gz
ayatana-indicator-datetime-eab1db188eebe7de89683ed0f5596e96caecd8a9.tar.bz2
ayatana-indicator-datetime-eab1db188eebe7de89683ed0f5596e96caecd8a9.zip
express all-day events in the local timezone
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r--src/datetime-service.c2
1 files changed, 1 insertions, 1 deletions
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