$NetBSD: patch-aa,v 1.1 2010/10/01 19:44:02 drochner Exp $ --- src/tray_icon.c.orig 2009-04-14 22:58:27.000000000 +0000 +++ src/tray_icon.c @@ -198,12 +198,16 @@ GdkPixbuf *orage_create_icon(gboolean st orage_message(110, "trayicon: heading does not fit in dynamic icon"); /* month */ - if (strftime(month, 19, "%^b", t) == 0) { - g_warning("orage_create_icon: strftime %%^b failed"); - if (strftime(month, 19, "%b", t) == 0) { - g_warning("orage_create_icon: strftime %%b failed"); - g_sprintf(month, "orage"); - } + if (strftime(month, 19, "%b", t) == 0) { + g_warning("orage_create_icon: strftime %%b failed"); + g_sprintf(month, "orage"); + } else { + char *c = month; + month[19] = '\0'; + while (*c) { + *c = toupper(*c); + c++; + } } g_snprintf(ts, 199 , "%s", month);