diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-11-03 16:26:05 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2012-11-03 16:26:05 +0000 |
commit | 60825ab6ff90e0755dce38d533aecb677995ff24 (patch) | |
tree | a3c5a944074f5a4cbc6764ed652484cbc541c95d /src | |
parent | 5427edfb6354e5d8be229ce42d877659734c5151 (diff) | |
parent | eab1db188eebe7de89683ed0f5596e96caecd8a9 (diff) | |
download | ayatana-indicator-datetime-60825ab6ff90e0755dce38d533aecb677995ff24.tar.gz ayatana-indicator-datetime-60825ab6ff90e0755dce38d533aecb677995ff24.tar.bz2 ayatana-indicator-datetime-60825ab6ff90e0755dce38d533aecb677995ff24.zip |
Display all-day events in localtime rather than utc. Fixes: https://bugs.launchpad.net/bugs/1000182.
Approved by Lars Uebernickel, PS Jenkins bot.
Diffstat (limited to 'src')
-rw-r--r-- | src/datetime-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c index e08e50d..e63fed6 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -862,7 +862,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 |