* by feivel: display the weekday in the dayview
authorWilfried Göesgens <willi@citadel.org>
Sun, 18 Oct 2009 16:26:15 +0000 (16:26 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 18 Oct 2009 16:26:15 +0000 (16:26 +0000)
webcit/calendar_view.c

index 5960ff5328ecd2f69f40cf796596cd43af5b5dfb..b97f4e276ef59116c3850e80dda7d07122847076 100644 (file)
@@ -1106,7 +1106,7 @@ void calendar_day_view(int year, int month, int day) {
        long daystart;
        long dayend;
        struct tm d_tm;
-       char d_str[128];
+       char d_str[160];
        int time_format;
        time_t today_t;
        int timeline = TIMELINE;
@@ -1288,6 +1288,7 @@ void calendar_day_view(int year, int month, int day) {
 
        wc_strftime(d_str, sizeof d_str,
                "<td align=center>"
+               "<font size=+2>%A</font><br />"
                "<font size=+2>%B</font><br />"
                "<font size=+3>%d</font><br />"
                "<font size=+2>%Y</font><br />"