in the function show_event($CLd, $CLm, $CLy, $G_C = '') in calendar.php, I'm trying to put the date on the event heading.
The following line gives me date minus one, the same way it was displayed in the events editor before the fix.
$head = str_replace('%date', get_date ('d M, Y',mktime(0,0,0,$CLm,$CLd,$CLy)), $head);
Is there a way to fix this, to give me the current date?
You should write date instead of get_date in the line you've mentioned.
This is the call that works correctly:
date ('d M, Y',mktime(0,0,0,$CLm,$CLd,$CLy))