Add MACRO day_from_date
This commit is contained in:
parent
d456de5663
commit
a38c8e2705
@ -49,6 +49,11 @@
|
|||||||
<!--% iso8601_date.format(date_to_format) %-->
|
<!--% iso8601_date.format(date_to_format) %-->
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
|
||||||
|
<!--% MACRO day_from_date(eps_date) BLOCK %-->
|
||||||
|
<!--% USE eps_day = date(format => '%A', locale => 'en_US', gmt => 1) %-->
|
||||||
|
<!--% eps_date = "$eps_date 0:0:0"; eps_day.format(eps_date) %-->
|
||||||
|
<!--% END %-->
|
||||||
|
|
||||||
<!--% MACRO tag_to_id(tag, is_index) BLOCK %-->
|
<!--% MACRO tag_to_id(tag, is_index) BLOCK %-->
|
||||||
<!--% tag = tag.replace('\s+','_') %-->
|
<!--% tag = tag.replace('\s+','_') %-->
|
||||||
<!--% IF is_index %-->
|
<!--% IF is_index %-->
|
||||||
|
Loading…
Reference in New Issue
Block a user