--- /tmp/gnome-commander-1.2.7/src/utils.cc	2008-07-28 13:53:44.000000000 -0700
+++ gnome-commander-1.2.7/src/utils.cc	2008-09-04 14:34:22.830327000 -0700
@@ -422,9 +422,21 @@ const gchar *time2string (time_t t, cons
 {
     static gchar buf[64];
     struct tm lt;
+    gchar  *loc_date_format, *loc_date;
+
+    //Convert customized date_fromat from UTF-8 to current locale. 
+    loc_date_format = g_locale_from_utf8 (date_format, -1, NULL, NULL, NULL);
 
     localtime_r (&t, &lt);
-    strftime (buf, sizeof(buf), date_format, &lt);
+    strftime (buf, sizeof(buf), loc_date_format, &lt);
+
+    //Convert formatted date from current locale to UTF-8. 
+    loc_date = g_locale_to_utf8 (buf, -1, NULL, NULL, NULL);
+    if (loc_date)
+      strcpy (buf, loc_date);
+
+    g_free (loc_date_format);
+    g_free (loc_date);
 
     return buf;
 }
