{date-data}
Plugin: Scaffolding Plugin
Allows editing of dates in a series of drop-down boxes.
Usage
{date-data:Name|format=[date format]}[<FIXED DATE>, yesterday, today, tomorrow, now]{date-data}
For example: {date-data:MeetingDateTime|format=yyyy-MMM-dd HH-mm-ss}today{date-data}
Parameters
| Name | Required | Default | Description |
|---|---|---|---|
| [default]/name | | The name of the field. | |
| format | | The format to display the date in. May contain any of the following special characters:
| |
| minYear | | -10
| The minimum year that is allowed. May be absolute (eg. '1980') or relative to the current year (eg. '-5'). |
| maxYear | | +10
| The maximum year that is allowed. May be absolute (eg. '2020') or relative to the current year (eg. '+15'). |
| required | | false
| If true, the field cannot be empty. |
Discussions