added timestamp parameter to format_date sparty plugin

This commit is contained in:
Franck Allimant
2013-10-30 19:52:47 +01:00
parent 87df547668
commit f5828dc18b
4 changed files with 18 additions and 27 deletions

View File

@@ -7,7 +7,7 @@
<div class="panel-heading">
<h3 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapse-{$LOOP_COUNT}">
{$TITLE|strip_tags nofilter} - {$DATE}
{$TITLE|strip_tags nofilter} - {format_date timestamp=$DATE}
</a>
</h3>
</div>
@@ -20,7 +20,7 @@
<a href="{$URL}" target="_blank" class="btn btn-defaut btn-primary"><span class="glyphicon glyphicon-book"></span> {intl l='Lire la suite'}</a>
</div>
</div>
</div>
</div>
{/loop}
</div>