From: yashodha Date: Mon, 7 Jan 2019 09:25:39 +0000 (+0530) Subject: (dev/core#646) Event date sorting doesn't work for ical listing X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=373c3504b00c34920caa15820570803fbd10a518;p=civicrm-core.git (dev/core#646) Event date sorting doesn't work for ical listing --- diff --git a/templates/CRM/Event/Page/ICalendar.tpl b/templates/CRM/Event/Page/ICalendar.tpl index 0ee4d26b77..8b9b1a311a 100644 --- a/templates/CRM/Event/Page/ICalendar.tpl +++ b/templates/CRM/Event/Page/ICalendar.tpl @@ -41,7 +41,7 @@ {$event.title} {if $event.summary}{$event.summary} ({ts}read more{/ts}...){else} {/if} - + {if $event.start_date}{$event.start_date|crmDate}{if $event.end_date}
{ts}through{/ts}
{strip} {* Only show end time if end date = start date *} {if $event.end_date|date_format:"%Y%m%d" == $event.start_date|date_format:"%Y%m%d"}