aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-01-30 18:31:57 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-01-30 18:31:57 +0800
commit788a0f525fecf8c06071b2cb88ea932d7f92836e (patch)
tree4510cd32dc7e9e3431b0d5edfe0afd6f100db564 /widgets
parent5b51ab0c11069fb4406604d0913bc92a4bdee7d4 (diff)
downloadgsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.tar
gsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.tar.gz
gsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.tar.bz2
gsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.tar.lz
gsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.tar.xz
gsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.tar.zst
gsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.zip
fixes #250754
svn path=/trunk/; revision=31363
Diffstat (limited to 'widgets')
-rw-r--r--widgets/ChangeLog8
-rw-r--r--widgets/misc/e-dateedit.c6
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);
}