DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type_date

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
plugin:struct:type_date [2016-07-28 12:33] andiplugin:struct:type_date [2016-07-28 12:34] (current) – old revision restored (2016-03-31 16:53) andi
Line 1: Line 1:
 <= [[plugin:struct|Struct Plugin]] <= [[plugin:struct:type|Types]] <= [[plugin:struct|Struct Plugin]] <= [[plugin:struct:type|Types]]
-====== Struct Plugin: Type DateTime ======+====== Struct Plugin: Type Date ======
  
-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 ''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 ===== ===== Configuration =====
Line 10: Line 10:
 ^ Config        ^ Format   ^ Description                                                                                                                                  ^ ^ Config        ^ Format   ^ Description                                                                                                                                  ^
 | format        | string   | A [[phpfn>date]] format string for formatting the date in the output                                                                         | | format        | string   | A [[phpfn>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" |+| 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.1469702012.txt.gz · Last modified: 2016-07-28 12:33 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