From 94e748144716d0d2a8cf81619ac87f7d374dd46d Mon Sep 17 00:00:00 2001 From: Javier Fernandez Garcia-Boente Date: Wed, 18 Apr 2007 16:34:24 +0000 Subject: [PATCH] * Change display format of dates and time. pmo-trunk-r1589 --- src/modest-text-utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index cfa6414..96cd573 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -858,12 +858,12 @@ modest_text_utils_get_display_date (time_t date) now = time (NULL); - modest_text_utils_strftime (date_buf, BUF_SIZE, "%x", date); - modest_text_utils_strftime (now_buf, BUF_SIZE, "%x", now); /* today */ + modest_text_utils_strftime (date_buf, BUF_SIZE, "%d/%m/%Y", date); + modest_text_utils_strftime (now_buf, BUF_SIZE, "%d/%m/%Y", now); /* today */ /* if this is today, get the time instead of the date */ if (strcmp (date_buf, now_buf) == 0) - modest_text_utils_strftime (date_buf, BUF_SIZE, _("%X"), date); + modest_text_utils_strftime (date_buf, BUF_SIZE, "%H:%M:%P", date); return g_strdup(date_buf); } -- 1.7.9.5