It's better when it's simple

User Tools

Site Tools


Struct PluginTypes

Struct Plugin: Type Date

The Date type accepts a date in the format YYYY-MM-DD. The output format can be controlled through a config. Data entry is helped through a date picker.


The following configuration is available in addition to the basic type configuration:

Config Format Description
format string A date format string for formatting the date in the output
prefilltoday boolean When set to true, the input will be automatically filled with the current date when empty. Useful to have something like a “creation date”.
plugin/struct/type_date.txt · Last modified: 2016-07-28 12:34 by andi