X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar_view.c;h=bee159b82f24cb79fb67d7246e21aec32c86dfc3;hb=3ca5e24a35f57990df888c4b0f8353df68efd333;hp=48ac994666d7fa64fe4b77293b809b101fd4d569;hpb=d8623ff3e298dd6de32aea2540d69b287e54ff7a;p=citadel.git diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 48ac99466..bee159b82 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -596,8 +596,9 @@ void calendar_month_view(int year, int month, int day) { wprintf("
", ((tm.tm_mon != month-1) ? "out" : + ((tm.tm_mday == day) ? "today" : ((tm.tm_wday==0 || tm.tm_wday==6) ? "weekend" : - "day")) + "day"))) ); if ((i==0) || (tm.tm_mday == 1)) { wc_strftime(colheader_label, sizeof colheader_label, "%B", &tm);