Add MACRO day_from_date

This commit is contained in:
Roan Horning 2024-10-23 07:29:58 -04:00
parent d456de5663
commit a38c8e2705
Signed by: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -49,6 +49,11 @@
<!--% iso8601_date.format(date_to_format) %-->
<!--% 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 %-->
<!--% tag = tag.replace('\s+','_') %-->
<!--% IF is_index %-->