About this block
Shows the date, time_tag, money, money_with_currency and pluralize filters on plain values. date formats a date with strftime codes, time_tag wraps the same in a machine-readable time element, money turns cents into a currency string, and pluralize picks a singular or plural word by number.
How to customize it
- Amounts are in cents: 4500 shows as $45.00. The currency comes from the site's currency setting, or add currency: 'EUR' to the filter.
- A date such as 2027-01-16 is read as that calendar day in the site's timezone.
- To list events from a collection, loop collections.events and print item.date | time_tag and item.price | money.