It's better when it's simple

User Tools

Site Tools


Struct PluginTypes

Struct Plugin: Type DateTime

The DateTime type accepts a date and time in the format YYYY-MM-DD HH:MM:SS. The output format can be controlled through a config. Data entry is helped through a date picker, the time has to be entered manually.


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 and time when empty. Useful to have something like a “creation date”.

:!: Filter for type DateTime don't work - neither dynamic not static. Git

plugin/struct/type_datetime.txt · Last modified: 2020-11-16 14:31 by moz

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