Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Live template
templateTypetemplate
templateOption{"label":"Macro Reference Live Template v2","value":"477609382","templateType":"template"}
templateTypeOption{"label":"Confluence template/blueprint","value":"template"}
templateId477609382
excerptDescription Allows editing of dates with a date picker pop-up menu, or via keying in directly into the fixed format field. An example of how to use the Due Data macro is in the Collecting and Displaying Data in a Structured Way  guide. Parameters Name Required Migratable to Cloud? Default Value Description [default] / name (Field Name) (/) No   The name of the date data field. Name must be unique. required (/) No false/unchecked If checked, this field cannot be empty. minDate (Minimum Date) (x) No   The minimum date that is allowed the format of date entered here must follow the format parameter Default format is 'yyyy-MM-dd'. maxDate (Maximum Date) (x) No   The maximum date that is allowed the format of date entered here must follow the format parameter Default format is 'yyyy-MM-dd'. format (Display Format) (x) No yyyy-MM-dd The format to display the date in. May contain any of the following special characters: y - the year e.g. 'yy' = '05', 'yyyy' = '2005' M - the month e.g. 'MMMM' = 'April', 'MMM' = 'Apr', 'MM' = '04' d - the day e.g. 'dd' = '09', 'd' = '9' H - the hour - 24 hour time e.g. 'HH' = '13' h - the hour - 12 hour time e.g. 'h' = '1', 'hh' = '01' m - the minute e.g. 'mm' = '23' s - the second e.g. 'ss' = '14' a - AM/PM e.g. 'a' = 'PM' Editor View Not applicable. Macro Edit View Not applicable. Notes For version 8.21.9 and below the date and time is saved and viewed as server time For version 8.22.0 and above Date data macro saves and displays the date and time according to the user's timezone. When users from different timezones view the saved date and time, it will be displayed as per the viewers' timezone The default view for Date data macro will include the time zone. Scaffolding Date Data macro body can accept keywords to pre-populate the datetime during input. The supported Keywords are: Keyword Description Today / Now the datetime when the Scaffolding editor is opened Yesterday the datetime when the Scaffolding editor is opened - 24 hours Tomorrow the datetime when the Scaffolding editor is opened +24 hours the keywords don’t save/set default values for the date data macro the keywords only work as suggested/default input when the editor is opened the keyword datetime will only display during input for new/empty macros. Once a value has been saved/set for a date data macro, the keyword in the body of that same macro is ignored when the editor is opened the next time. pre-populated date inputs use server time
fieldGroupKeys{"sk3oufj352":["net.customware.confluence.plugin.scaffolding__sk3oufj352__data_0_j1ovzv9g09wode2n5qp9"]}

Tutorial Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "date-data" and space = currentSpace ( )
labelsdate-data