From 4877b93f7f929ec56ad92d15cefba279ce97791c Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Sun, 4 Jun 2023 09:47:06 -0600 Subject: [PATCH] Remove extra whitespace around date through in EventInfoBlock --- templates/CRM/Event/Form/Registration/EventInfoBlock.tpl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl b/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl index c75be4e1d3..85d27f42f6 100644 --- a/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl +++ b/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl @@ -21,13 +21,12 @@ {ts}When{/ts} {$event.event_start_date|crmDate} - {if $event.event_end_date} -   {ts}through{/ts}   + {if $event.event_end_date}{ts}through{/ts} {* Only show end time if end date = start date *} {if $event.event_end_date|crmDate:"%Y%m%d" == $event.event_start_date|crmDate:"%Y%m%d"} - {$event.event_end_date|crmDate:0:1} + {$event.event_end_date|crmDate:0:1} {else} - {$event.event_end_date|crmDate} + {$event.event_end_date|crmDate} {/if} {/if} -- 2.25.1