So for example, if it is the 28th today, then both September 28th and October 28th show up with the drop shadow that designates the current day, and have the class "today" on them.
I have fixed this bug visually with this CSS at the end of my calendar_block.css file:
#calendar .disabled.today{
background-image:url('images/cell_first_row_disabled.png');
}However it would be nice if the "today" class was only actually applied to today so I could count on using that for other purposes. (Granted, as long as I cancel anything I apply to .today in the above CSS rule it shouldn't matter)
Comments
Comment #1
camerongreen commentedI fixed this with the following change
259 if ($calendar->day && $date->day == $calendar->day && $date->month == $calendar->month) {
260 $class .= ' today';
261 }
Comment #2
M.Mimpen commentedI solely registered to post the solution to this bug. After registration I found this issue and the solution is already there. Haha.