DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type_date

This is an old revision of the document!


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.

Configuration

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.1459435993.txt.gz · Last modified: 2016-03-31 16:53 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki