Step 2: Format Event Dates

You can use FormatJS in Handlebars to format the date and time in your results.

For example, if you wanted the month names in your calendar to be abbreviated, you would add the following code:

<div class="date-day"> {{formatDate Event.startDateTime month="short"}} </div>

To learn more about date-formatting options, see the FormatJS documentation .