One other comment.
I fixed date-time display to look like:
Date & Time: April 2, 1:30 pm - April 2, 2:30 pm
To make it not repeat the month/day twice, to get:
Date & Time: April 2, 1:30 pm - 2:30 pm
I used: define(’_mxCalendar_ed_dateformat2’, ’g:i a’); and put it into the class file like so:
// 'endTime' => date(_mxCalendar_ed_dateformat, strtotime($p_val['end'])), // 4/2/10 commented out to put define('_mxCalendar_ed_dateformat2', 'g:i a');
'endTime' => date(_mxCalendar_ed_dateformat2, strtotime($p_val['end'])),
This is line 579-80 or so.
I also changed the class file at lines 591-92:
// "<h3>"._mxCalendar_ed_dt." ".date(_mxCalendar_ed_dateformat,strtotime($p_val['start']))." - ".date(_mxCalendar_ed_dateformat, strtotime($p_val['end']))."</h3>".
"<h3>"._mxCalendar_ed_dt." ".date(_mxCalendar_ed_dateformat,strtotime($p_val['start']))." - ".date(_mxCalendar_ed_dateformat2, strtotime($p_val['end']))."</h3>".
Hope this helps someone, though perhaps someday this can be set up to be more easier to do with only the language files and not changing core code.
I have not tested with recurring events.
Thank you, Tom
P.S. Through further work with the defines and the above code sections, I imagine it would be possible to generate an even cleaner display of Date & Time: April 2, 1:30 - 2:30 pm, but then it could be difficult to generate a nice display for events starting in the AM and finishing in the PM...