It wasn't the last post:
I just noted that the jemlistevents plugin just shows the start date of an event.
To get the start date
and the end date (in the format: "startdate - endate" – if they are not on the same day) I suggest the following change. It works – but as my php skills are limited I have no idea if this is good code:
In jemlistevents.php between line 331 and 332
Code:
$html_list .= JemOutput::formatdate($event->dates, $parameters['date_format']);
$html_list .= (($parameters['show_date'] === 'link') ? '</a>' : '');
add
Code:
if ($event->dates != $event->enddates) {
$html_list .= " - ".JemOutput::formatdate($event->enddates, $parameters['date_format']);
}
so you get
Code:
$html_list .= JemOutput::formatdate($event->dates, $parameters['date_format']);
if ($event->dates != $event->enddates) {
$html_list .= " - ".JemOutput::formatdate($event->enddates, $parameters['date_format']);
}
$html_list .= (($parameters['show_date'] === 'link') ? '</a>' : '');
Have fun