\n");
- wprintf("\n");
+ wprintf("\n");
- wprintf("");
+ wprintf(" | ");
localtime_r(&previous_month, &tm);
wprintf("",
(int)(tm.tm_year)+1900, tm.tm_mon + 1);
- wprintf("\n");
+ wprintf("\n");
wc_strftime(month_label, sizeof month_label, "%B", &tm);
wprintf(" "
- ""
+ ""
"%s %d"
- ""
+ ""
" ", month_label, year);
localtime_r(&next_month, &tm);
wprintf("",
(int)(tm.tm_year)+1900, tm.tm_mon + 1);
- wprintf("\n");
+ wprintf("\n");
- wprintf(" | \n");
+ wprintf(" \n");
/** Inner table (the real one) */
- wprintf("");
- wprintf(" \n");
- wprintf("\n");
+ wprintf(" | \n");
+ wprintf("\n");
/** Now do 35 days */
for (i = 0; i < 35; ++i) {
@@ -429,7 +430,7 @@ void calendar_brief_month_view(int year, int month, int day) {
/** Before displaying Sunday, start a new CELL */
if ((i % 7) == 0) {
wc_strftime(&weeknumber[0], sizeof(weeknumber), "%U", &tm);
- wprintf(" %s %s | "
+ wprintf(" %s %s | "
" %s | %s | %s | %s | \n",
_("Week"),
weeknumber,
@@ -446,11 +447,11 @@ void calendar_brief_month_view(int year, int month, int day) {
/** Day Header */
wc_strftime(weekday_name, sizeof weekday_name, "%A", &tm);
- wprintf(" %s"
- " |
| \n",
- daycolor,
- weekday_name,
- daycolor);
+ wprintf(" %s"
+ " |
| \n",
+ daycolor,
+ weekday_name,
+ daycolor);
/** put the data of one day here, stupid */
calendar_month_view_brief_events(thetime, daycolor);
@@ -464,8 +465,8 @@ void calendar_brief_month_view(int year, int month, int day) {
thetime += (time_t)86400; /** ahead 24 hours */
}
- wprintf(" " /** end of inner table */
- " " /** end of outer table */
+ wprintf(" | " /** end of inner table */
+ " |