Skip to content

AgendaFormatRange

This output filter formats a date range from the startdate||enddate format to the displayed format with the format rules described on the are described on the AgendaList page. The output filter was introduced with Agenda 1.7.0.

Output Filter Properties

The output filter uses the following properties:

Property Description Default
input A date range in the startdate\|\|enddate format where both dates can be parsed by php DateTime. -
options A JSON encoded array of the format options. The array can have the keys format, separator and locale. The format has to use the format rules and can be filled with the format placeholders of DateTime::format. Default: {"format":"j.\| F \|Y\|, \|g\|:i\| a","separator":" – ","locale":""} -