Event Dates Formatting and Display
Hey folks,
I am modifying the display template for a single event, and want to display the event dates and times. The default has:
<sf:FieldListView ID="EventDates" runat="server" WrapperTagName="li" />
Hello Neil,
You can add:
<
sf:FieldListView
ID
=
"EventStart"
runat
=
"server"
Format
=
" EventStart.ToLocal():MMM dd, yyyy hh:mm tt"
/>
<
sf:FieldListView
ID
=
"EventEnd"
runat
=
"server"
Format
=
"EventEnd.ToLocal(): '\-' MMM dd, yyyy hh:mm tt"
/>