diff options
-rw-r--r-- | widgets/ChangeLog | 8 | ||||
-rw-r--r-- | 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 <pchenthill@novell.com> + + Reviewed by Harish Krishnaswamy <kharish@novell.com> + + 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 <sragavan@novell.com> * 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); } |