aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-06-18 15:01:59 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-06-18 15:01:59 -0500
commit08fe1c7841893086aedde63c7df1a772dafef708 (patch)
treeb82387ddf46a5fcf3cde15cc4e531ab32dc76424
parenta93b2144e216afa7b6a61129929bc201ce58d6b1 (diff)
parent0ec41cb0237bc8c493d8c05c6af45ebfb9f36557 (diff)
downloadayatana-indicator-datetime-08fe1c7841893086aedde63c7df1a772dafef708.tar.gz
ayatana-indicator-datetime-08fe1c7841893086aedde63c7df1a772dafef708.tar.bz2
ayatana-indicator-datetime-08fe1c7841893086aedde63c7df1a772dafef708.zip
merge lp:~bobowen/indicator-datetime/fix-for-749847 to apply an 'en space' between the date string and time string.
-rw-r--r--src/utils.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c
index e6de92a..f5aecd6 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -243,9 +243,10 @@ generate_format_string_full (gboolean show_day, gboolean show_date)
g_return_val_if_fail(date_string != NULL, g_strdup(time_string));
/* TRANSLATORS: This is a format string passed to strftime to combine the
- date and the time. The value of "%s %s" would result in a string like
- this in US English 12-hour time: 'Fri Jul 16 11:50 AM' */
- return g_strdup_printf(T_("%s %s"), date_string, time_string);
+ date and the time. The value of "%s\xE2\x80\x82%s" would result in a string like
+ this in US English 12-hour time: 'Fri Jul 16 11:50 AM'.
+ The space in between date and time is a Unicode en space (E28082 in UTF-8 hex). */
+ return g_strdup_printf(T_("%s\xE2\x80\x82%s"), date_string, time_string);
}
gchar *