Commit e6c9f10d authored by Dominique Feyer's avatar Dominique Feyer

TASK: Show time in event dates

parent 699fd501
<f:if condition="{startDate}">
<f:if condition="{dateFormatType} == 'sameDay'">
<f:then>
<f:format.date format="F j, Y" >{startDate}</f:format.date> {venue}
<f:format.date format="F j, Y" >{startDate}</f:format.date> between <f:format.date format="H:i" >{startDate}</f:format.date> to <f:format.date format="H:i" >{endDate}</f:format.date> {venue}
</f:then>
<f:else>
<f:if condition="{dateFormatType} == 'sameMonth'">
<f:then>
from <f:format.date format="F j" >{startDate}</f:format.date>-<f:format.date format="j, Y">{endDate}</f:format.date> {venue}
</f:then>
<f:else>
<f:if condition="{dateFormatType} == 'sameYear'">
<f:then>
from <f:format.date format="F j" >{startDate}</f:format.date> to <f:format.date format="F j, Y">{endDate}</f:format.date> {venue}
</f:then>
<f:else>
from <f:format.date format="F j, Y" >{startDate}</f:format.date> to <f:format.date format="F j, Y">{endDate}</f:format.date> {venue}
</f:else>
</f:if>
</f:else>
</f:if>
<f:format.date format="F j" >{startDate}</f:format.date> at <f:format.date format="H:i" >{startDate}</f:format.date> to <f:format.date format="F j Y">{endDate}</f:format.date> end at <f:format.date format="H:i" >{endDate}</f:format.date> {venue}
</f:else>
</f:if>
</f:if>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment