Hello,

        with this patch Iconbar displays names of the months and days of
        the week (and possible other words) according to the current
        LC_TIME.

-- 
Szymon Boniecki
http://dmr.art.pl
--- iconbar_orig.c      2004-08-24 23:52:52.934738096 +0200
+++ iconbar.c   2004-08-24 23:58:30.121477920 +0200
@@ -3,6 +3,7 @@
 #include "util.h"
 #include <math.h>
 #include <time.h>
+#include <locale.h>
 #include "prefs.h"
 #include "icon_editor.h"
 
@@ -293,6 +294,7 @@
     if((ib = (Iconbar*)data))
     {
       _tm = localtime(&_time);
+      setlocale(LC_TIME, "");
       strftime(buf, PATH_MAX, iconbar_config_time_format_get(), _tm);
       edje_object_part_text_set(ib->gui, "clock", buf);
       return(1);

Reply via email to