Merge lp:~bobowen/indicator-datetime/fix-for-749847 into lp:indicator-datetime/12.10

Proposed by Bob Owen
Status: Merged
Merged at revision: 179
Proposed branch: lp:~bobowen/indicator-datetime/fix-for-749847
Merge into: lp:indicator-datetime/12.10
Diff against target: 17 lines (+4/-3)
1 file modified
src/utils.c (+4/-3)
To merge this branch: bzr merge lp:~bobowen/indicator-datetime/fix-for-749847
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
Review via email: mp+107475@code.launchpad.net

Description of the change

Changed space between date and time to a Unicode en space as per updated specification <https://wiki.ubuntu.com/TimeAndDate?action=diff&rev2=48&rev1=47>.

To post a comment you must log in.
Revision history for this message
Charles Kerr (charlesk) wrote :

Looks great, Bob. Thanks for your patch (and for your patience in this getting merged ;)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/utils.c'
2--- src/utils.c 2011-09-28 05:01:10 +0000
3+++ src/utils.c 2012-05-25 20:51:20 +0000
4@@ -243,9 +243,10 @@
5 g_return_val_if_fail(date_string != NULL, g_strdup(time_string));
6
7 /* TRANSLATORS: This is a format string passed to strftime to combine the
8- date and the time. The value of "%s %s" would result in a string like
9- this in US English 12-hour time: 'Fri Jul 16 11:50 AM' */
10- return g_strdup_printf(T_("%s %s"), date_string, time_string);
11+ date and the time. The value of "%s\xE2\x80\x82%s" would result in a string like
12+ this in US English 12-hour time: 'Fri Jul 16 11:50 AM'.
13+ The space in between date and time is a Unicode en space (E28082 in UTF-8 hex). */
14+ return g_strdup_printf(T_("%s\xE2\x80\x82%s"), date_string, time_string);
15 }
16
17 gchar *

Subscribers

People subscribed via source and target branches