Add in the other prevalue for this property editor 'offsetTime' bool
This commit is contained in:
@@ -15,15 +15,25 @@ export const manifest: ManifestPropertyEditorUI = {
|
||||
{
|
||||
alias: 'format',
|
||||
label: 'Date format',
|
||||
description: 'If left empty then the format is YYYY-MM-DD. (see momentjs.com for supported formats)',
|
||||
description: 'If left empty then the format is YYYY-MM-DD',
|
||||
propertyEditorUI: 'Umb.PropertyEditorUI.TextBox',
|
||||
},
|
||||
{
|
||||
alias: 'offsetTime',
|
||||
label: 'Offset time',
|
||||
description: 'When enabled the time displayed will be offset with the servers timezone, this is useful for scenarios like scheduled publishing when an editor is in a different timezone than the hosted server',
|
||||
propertyEditorUI: 'Umb.PropertyEditorUI.Toggle',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
{
|
||||
alias: 'format',
|
||||
value: 'YYYY-MM-DD HH:mm:ss',
|
||||
},
|
||||
{
|
||||
alias: 'offsetTime',
|
||||
value: false
|
||||
}
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user