{foreach key=key item=item from=$user_packet_groups} {$key} {$item->get("time_till")|date_format:$smarty.const.SMARTY_DATE_FORMAT} {/foreach}