From 788a0f525fecf8c06071b2cb88ea932d7f92836e Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 30 Jan 2006 10:31:57 +0000 Subject: fixes #250754 svn path=/trunk/; revision=31363 --- widgets/ChangeLog | 8 ++++++++ widgets/misc/e-dateedit.c | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/widgets/ChangeLog b/widgets/ChangeLog index b7bd5e6566..467dae1f6b 100644 --- a/widgets/ChangeLog +++ b/widgets/ChangeLog @@ -1,3 +1,11 @@ +2006-01-30 Chenthill Palanisamy + + Reviewed by Harish Krishnaswamy + + Fixes #250754 + * misc/e-dateedit.c: Used %x for strftime so that the date is represented + according to the locale used. + 2006-01-16 Srinivasa Ragavan * table/e-tree-table-adapter.c (set_expanded_state_func), diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index 9328236fcc..5bf53a7610 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -1732,9 +1732,9 @@ e_date_edit_update_date_entry (EDateEdit *dedit) tmp_tm.tm_mday = priv->day; tmp_tm.tm_isdst = -1; - /* This is a strftime() format for a short date. %m = month, - %d = day of month, %Y = year (all digits). */ - e_utf8_strftime (buffer, sizeof (buffer), _("%m/%d/%Y"), &tmp_tm); + /* This is a strftime() format for a short date. + %x the preferred date representation for the current locale without the time*/ + e_utf8_strftime (buffer, sizeof (buffer), "%x", &tmp_tm); gtk_entry_set_text (GTK_ENTRY (priv->date_entry), buffer); } -- cgit v1.2.3