I’d like to propose a %event-occurance% shortcode template tag for Events List. This tag outputs the event start and end dates intelligently using the eo_format_event_occurance function, as an alternative to using the %start% and %end% tags (e.g. October 2-4 2016).
This can be done by modifying classes/class-event-organizer-shortcodes.php:
-
add a new ‘event_occurance’ pattern to the array in function read_template:
‘/%(event_occurance)({([^{}])}{([^{}])}|{[^{}]*})?%/’,
-
add a new ‘event_occurance’: case to the first switch in function parse_template that handles the arguments for start, end, etc.
-
add a new ‘event_occurance’ case to the inner switch that processes the tags: case ‘event_occurance’:
$replacement = eo_format_event_occurrence( false, false, $dateFormat, $dateTime, ‘ – ‘, false ); break;
Note that I chose not to include microdata in order to match what’s done with start, end, etc. Perhaps all of these should have microdata?

ICG EventOrganizer-Admin
I’ve opened a GitHub issue to track this feature here: https://github.com/stephenharris/Event-Organiser/issues/385
(It will probably be called event_range
rather than event_occurrence
)

Stephen Harris