<commit_before>{if $offsetplusmaxRecords>$count}
	{$offsetplusmaxRecords = $count}
{/if}
Results 
{if $count}
	{$offsetplusone}
{else}
	0
{/if}
- {$offsetplusmaxRecords} of {$count} 
{if $results->getEstimate() > $count}
	({$results->getEstimate()} Total)
{/if}

{assign var='customsearchid' value='solsearch'}
	<div class="srShowResult col-md-12 pad-bottom-xl">
          {pagination_links offset_jsvar="customsearch_`$customsearchid`.offset" _onclick="window.customsearch_`$customsearchid`.options.requireinput=false;$('#customsearch_`$customsearchid`').submit();return false;" resultset=$results}{/pagination_links}
	</div>

{foreach item=result from=$results}
	<div class="panel panel-default search-result">
	    <div class="panel-body">
	    	<div class="media">
		        <a class="pull-left" href="./syn_organicgrp_ViewEvent?itemId={$result.object_id|escape}&organicgroup={$result.tracker_field_groupId}&cat={$result.categories[0]}">
		  			<i class="fa fa-calendar fa-4x"></i>
				</a>
	  			<div class="media-body">
	  			 	{* If Created in the past two weeks, display new_ribbon. *}
                    {if '-14 days'|date_format:'%Y-%m-%d'  <=  $result.creation_date}
                            <div class="pull-right new_ribbon">New</div>
                    {/if}
					<h3 class="media-heading"><a href="./syn_organicgrp_ViewEvent?itemId={$result.object_id|escape}&organicgroup={$result.tracker_field_groupId}&cat={$result.categories[0]}" class="title">{$result.title|escape}</a></h3>
					<div class="mar-bottom-lg mar-top-lg"><strong>
                        {if $result.tracker_field_startDate2|date_format:"%b %e" eq $result.tracker_field_endDate|date_format:"%b %e"}
                        {$result.tracker_field_startDate2|date_format:"%b %e %R"} - {$result.tracker_field_endDate|date_format:"%R"}
                        {else}
                                {$result.tracker_field_startDate2|date_format:"%b %e %R"} - {$result.tracker_field_endDate|date_format:"%b %e %R"}
                        {/if}
					</strong> </div>
		  		</div>
		  		<p>{$result.desc}</p>
	  		</div>
	    </div>
	    <div class="panel-footer clearfix">
	    	<div class="pull-left icon-bar">
		    	<div class="icon"><span class="fa fa-location-arrow fa-lg"></span> {$result.tracker_field_eventLocation}</div>
		  		<div class="icon"><span class="fa fa-user fa-lg"></span> {$result.tracker_field_presenter}</div>
		  	</div>
	  		<div class="pull-right">
	  			<a class="pull-right btn btn-action" href="./syn_organicgrp_ViewEvent?itemId={$result.object_id|escape}&organicgroup={$result.tracker_field_groupId}&cat={$result.categories[0]}"><span class="fa fa-arrow-circle-o-right fa-lg"></span> Details</a>
	  		</div> 
	    </div>
	</div>
{/foreach}

<div class="srShowResult">
           {pagination_links offset_jsvar="customsearch_`$customsearchid`.offset" _onclick="window.customsearch_`$customsearchid`.options.requireinput=false;$('#customsearch_`$customsearchid`').submit();return false;" resultset=$results}{/pagination_links}
		<div class="clear"></div>
</div>

<commit_msg>Remove time on multiple day events in search and change of 12 hour time format<commit_after>{if $offsetplusmaxRecords>$count}
	{$offsetplusmaxRecords = $count}
{/if}
Results 
{if $count}
	{$offsetplusone}
{else}
	0
{/if}
- {$offsetplusmaxRecords} of {$count} 
{if $results->getEstimate() > $count}
	({$results->getEstimate()} Total)
{/if}

{assign var='customsearchid' value='solsearch'}
	<div class="srShowResult col-md-12 pad-bottom-xl">
          {pagination_links offset_jsvar="customsearch_`$customsearchid`.offset" _onclick="window.customsearch_`$customsearchid`.options.requireinput=false;$('#customsearch_`$customsearchid`').submit();return false;" resultset=$results}{/pagination_links}
	</div>

{foreach item=result from=$results}
	<div class="panel panel-default search-result">
	    <div class="panel-body">
	    	<div class="media">
		        <a class="pull-left" href="./syn_organicgrp_ViewEvent?itemId={$result.object_id|escape}&organicgroup={$result.tracker_field_groupId}&cat={$result.categories[0]}">
		  			<i class="fa fa-calendar fa-4x"></i>
				</a>
	  			<div class="media-body">
	  			 	{* If Created in the past two weeks, display new_ribbon. *}
                    {if '-14 days'|date_format:'%Y-%m-%d'  <=  $result.creation_date}
                            <div class="pull-right new_ribbon">New</div>
                    {/if}
					<h3 class="media-heading"><a href="./syn_organicgrp_ViewEvent?itemId={$result.object_id|escape}&organicgroup={$result.tracker_field_groupId}&cat={$result.categories[0]}" class="title">{$result.title|escape}</a></h3>
					<div class="mar-bottom-lg mar-top-lg"><strong>
                        {if $result.tracker_field_startDate2|date_format:"%Y" eq $result.tracker_field_endDate|date_format:"%Y"}
							{if $result.tracker_field_startDate2|date_format:"%B %e" eq $result.tracker_field_endDate|date_format:"%B %e"}
								{$result.tracker_field_startDate2|date_format:"%B %e, %l:%M%p"} - {$result.tracker_field_endDate|date_format:"%l:%M%p"}
							{elseif $result.tracker_field_startDate2|date_format:"%B" eq $result.tracker_field_endDate|date_format:"%B"} 
								{$result.tracker_field_startDate2|date_format:"%B %e"} - {$result.tracker_field_endDate|date_format:"%e, %Y"}
							{else}
								{$result.tracker_field_startDate2|date_format:"%B %e"} - {$result.tracker_field_endDate|date_format:"%B %e, %Y"}
							{/if}
						{else}
							{$result.tracker_field_startDate2|date_format:"%B %e, %Y"} - {$result.tracker_field_endDate|date_format:"%B %e, %Y"}
						{/if}
					</strong> </div>
		  		</div>
		  		<p>{$result.desc}</p>
	  		</div>
	    </div>
	    <div class="panel-footer clearfix">
	    	<div class="pull-left icon-bar">
		    	<div class="icon"><span class="fa fa-location-arrow fa-lg"></span> {$result.tracker_field_eventLocation}</div>
		  		<div class="icon"><span class="fa fa-user fa-lg"></span> {$result.tracker_field_presenter}</div>
		  	</div>
	  		<div class="pull-right">
	  			<a class="pull-right btn btn-action" href="./syn_organicgrp_ViewEvent?itemId={$result.object_id|escape}&organicgroup={$result.tracker_field_groupId}&cat={$result.categories[0]}"><span class="fa fa-arrow-circle-o-right fa-lg"></span> Details</a>
	  		</div> 
	    </div>
	</div>
{/foreach}

<div class="srShowResult">
           {pagination_links offset_jsvar="customsearch_`$customsearchid`.offset" _onclick="window.customsearch_`$customsearchid`.options.requireinput=false;$('#customsearch_`$customsearchid`').submit();return false;" resultset=$results}{/pagination_links}
		<div class="clear"></div>
</div>


{'fraction_non_alphanumeric': 0.1807138572285543, 'fraction_numerical': 0.005098980203959208, 'mean_word_length': 4.197973499610288, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1343125', 'n_tokens_mistral': 2482, 'n_tokens_neox': 2298, 'n_words': 327}