aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-dateedit.c
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/misc/e-dateedit.c
parent5b51ab0c11069fb4406604d0913bc92a4bdee7d4 (diff)
downloadgsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.tar.gz
gsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.tar.zst
gsoc2013-evolution-788a0f525fecf8c06071b2cb88ea932d7f92836e.zip
fixes #250754
svn path=/trunk/; revision=31363
Diffstat (limited to 'widgets/misc/e-dateedit.c')
-rw-r--r--widgets/misc/e-dateedit.c6
1 files changed, 3 insertions, 3 deletions
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);
}