Fix bug reported by Jurgen Bollerhey

I have a
"REM Mon SPECIAL WEEK (W[weekno()])"
in my reminders file.
With tkremind -m the week number is displayed on the 2nd column which is
Tuesday and the date of this Tuesday is taken from the monday of the
next week, sometimes of Monday the same week.
This commit is contained in:
Dianne Skoll
2020-03-30 11:29:19 -04:00
parent a6dbf05af4
commit 7aa483e201

View File

@@ -962,7 +962,8 @@ proc FillCalWindow {} {
"WEEK" {
set stuff [string trimleft $stuff]
set stuff [string trimright $stuff]
set label [expr $firstWkday + $day - 1]
set offset [CalEntryOffset $firstWkday]
set label [expr $offset + $day]
.cal.l$label configure -text "$day $stuff"
continue
}