Skip to content

Instantly share code, notes, and snippets.

@OlegShchavelev
Created February 20, 2017 14:36
Show Gist options
  • Save OlegShchavelev/6913dbb0e64745912d0b0d85dbae639e to your computer and use it in GitHub Desktop.
Save OlegShchavelev/6913dbb0e64745912d0b0d85dbae639e to your computer and use it in GitHub Desktop.
Вывод период дат мероприятий через Fenom
{if $date_start != ''}
<p><i class="uk-icon-clock-o"></i>
{if $date_start == $date_finish}
{$date_start | date_format : '%d.%m.%Y'}
{else}
{$date_start | date_format : '%d.%m.%Y'} - {$date_finish | date_format : '%d.%m.%Y'}</p>
{/if}
{/if}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment