edit doc

Event::formatRange

Formats an event’s dates into a string.

event.formatRange( formatConfig )

Accepts a date formatter.

If the event doesn’t have an end, then the start will be formatted alone.