Merge lp:~charlesk/indicator-datetime/lp-1000182 into lp:indicator-datetime/13.04

Proposed by Charles Kerr
Status: Merged
Approved by: Lars Karlitski
Approved revision: 192
Merged at revision: 193
Proposed branch: lp:~charlesk/indicator-datetime/lp-1000182
Merge into: lp:indicator-datetime/13.04
Diff against target: 12 lines (+1/-1)
1 file modified
src/datetime-service.c (+1/-1)
To merge this branch: bzr merge lp:~charlesk/indicator-datetime/lp-1000182
Reviewer Review Type Date Requested Status
Lars Karlitski (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+132465@code.launchpad.net

Commit message

Display all-day events in localtime rather than utc

Description of the change

Display all-day events in localtime rather than utc

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Lars Karlitski (larsu) wrote :

Looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/datetime-service.c'
2--- src/datetime-service.c 2012-10-09 16:59:12 +0000
3+++ src/datetime-service.c 2012-11-01 08:44:26 +0000
4@@ -864,7 +864,7 @@
5 // Due text
6 if (full_day) {
7 struct tm fulldaytime = {0};
8- gmtime_r(&ci->start, &fulldaytime);
9+ localtime_r(&ci->start, &fulldaytime);
10
11 /* TRANSLATORS: This is a strftime string for the day for full day events
12 in the menu. It should most likely be either '%A' for a full text day

Subscribers

People subscribed via source and target branches