DatePicker: removes offsetTime setting
Deemed to be no longer required.
This commit is contained in:
@@ -1,36 +1,10 @@
|
||||
import type { ManifestPropertyEditorSchema } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
// TODO: We won't include momentjs anymore so we need to find a way to handle date formats
|
||||
export const manifest: ManifestPropertyEditorSchema = {
|
||||
type: 'propertyEditorSchema',
|
||||
name: 'Date/Time',
|
||||
alias: 'Umbraco.DateTime',
|
||||
meta: {
|
||||
defaultPropertyEditorUiAlias: 'Umb.PropertyEditorUi.DatePicker',
|
||||
settings: {
|
||||
properties: [
|
||||
{
|
||||
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',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
config: [
|
||||
{
|
||||
alias: 'labelOff',
|
||||
value: 'Adjust to local time',
|
||||
},
|
||||
{
|
||||
alias: 'labelOn',
|
||||
value: 'Adjust to local time',
|
||||
},
|
||||
{
|
||||
alias: 'showLabels',
|
||||
value: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user