tag.date

SummaryDisplays the current date/time in a customizable format
Tag namesdate
Configuration prefixtag.date
Used options  tag.date.format
 tag.date.mi
Provided by bundlebuilt-in
API docWebgen::Tag::Date

Description

The date tag is used to display the current time in a specific format (the format of Ruby’s inbuilt method Time#strftime). Have a look a the examples below to see some possible outputs.

Examples

{date:}
2018-10-26 13:32:00
{date: {format: '%A, %Y-%m-%d'}}
Friday, 2018-10-26
{date: {format: '%x - %X'}}
10/26/18 - 13:32:00
{date: {format: '%x - %X', mi: modified_at}}
03/25/14 - 19:03:43