From d2d5bfde507348f6f1a02a10d5efa596d39c12ff Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Wed, 1 Feb 2023 14:57:11 +0000 Subject: [PATCH] Add in the other prevalue for this property editor 'offsetTime' bool --- .../property-editors/uis/date-picker/manifests.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/date-picker/manifests.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/date-picker/manifests.ts index 51139cd0ea..0a4b96eb04 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/date-picker/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/date-picker/manifests.ts @@ -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 + } ], }, },