Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm at work so can't roll a proper patch right now, but this is a trivial fix. In calendar_api.inc, around line 231 (as of the last 4.7.x release), there's this block of code:
$row[$x] = array(
'class' => strtolower("$month_name ". $weekdays[$x]['day'] . ($curstamp == $today ? ' today' : '') . ($params['mini'] ? ' mini' : '')),
'id' => strtolower($month_name . $day),
'data' => $params['mini'] ? $content : '<div class="inner">'. $content .'</div>');
However, $day is null so all table cells get an ID of the 3 letter name of the month, which is invalid. The correct variable to use there is $cur_day.
There's not really a patch attached here, but it's a 4 character change so I don't feel guilty about it. :-)
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedFinally had time to get this fixed. Thanks!
Comment #2
(not verified) CreditAttribution: commented