Home › Forums › Events Calendar Add-on › Empty Times on Calendar View › Reply To: Empty Times on Calendar View
> set the calendar settings to not display times
Yes – I can do that but the event doesn’t have a time (it’s all day) AND a much more elegant solution would be to do a check for a value and print ONLY if there is a value present.
I’ve dug in the code adjusted that feature.
Here is the quick solution I came up with:
Version: Expresso Calendar 2.0.1
Code (Replace line 570 with the following code):
if(event.startTime != ”)
element.find(‘.fc-event-title’).after($jaer(” + event.startTime + ‘ – ‘ + event.endTime + ”));
Bolded code is the new code