aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution/e-summary.c')
-rw-r--r--my-evolution/e-summary.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c
index 1427e7f6e4..c4e5e4ea57 100644
--- a/my-evolution/e-summary.c
+++ b/my-evolution/e-summary.c
@@ -24,6 +24,7 @@
#include <gal/util/e-util.h>
#include <gal/widgets/e-gui-utils.h>
+#include <gal/widgets/e-unicode.h>
#include <bonobo/bonobo-listener.h>
#include <libgnome/gnome-paper.h>
@@ -128,7 +129,7 @@ e_summary_draw (ESummary *summary)
GString *string;
GtkHTMLStream *stream;
char *html;
- char date[256];
+ char date[256], *date_utf;
time_t t;
g_return_if_fail (summary != NULL);
@@ -143,7 +144,9 @@ e_summary_draw (ESummary *summary)
t = time (NULL);
strftime (date, 255, _("%A, %d %B %Y"), localtime (&t));
- html = g_strdup_printf (HTML_2, date);
+ date_utf = e_utf8_from_locale_string (date);
+ html = g_strdup_printf (HTML_2, date_utf);
+ g_free (date_utf);
g_string_append (string, html);
g_free (html);
g_string_append (string, HTML_3);