Skip to content

@serenity-is/corelib / DateTimeEditorOptions

Interface: DateTimeEditorOptions

Defined in: src/ui/editors/datetimeeditor.tsx:515

Options for the DateTimeEditor.

Properties

endHour?

optional endHour: any

Defined in: src/ui/editors/datetimeeditor.tsx:519

Ending hour for the time select (0-23).


inputOnly?

optional inputOnly: boolean

Defined in: src/ui/editors/datetimeeditor.tsx:533

Whether to render as a plain input without picker UI.


intervalMinutes?

optional intervalMinutes: any

Defined in: src/ui/editors/datetimeeditor.tsx:521

Interval in minutes between time options.


maxValue?

optional maxValue: string

Defined in: src/ui/editors/datetimeeditor.tsx:525

Maximum allowed date-time as an ISO string.


minValue?

optional minValue: string

Defined in: src/ui/editors/datetimeeditor.tsx:523

Minimum allowed date-time as an ISO string.


seconds?

optional seconds: boolean

Defined in: src/ui/editors/datetimeeditor.tsx:531

Whether to include seconds in the time picker.


sqlMinMax?

optional sqlMinMax: boolean

Defined in: src/ui/editors/datetimeeditor.tsx:535

Whether to apply SQL min/max date bounds.


startHour?

optional startHour: any

Defined in: src/ui/editors/datetimeeditor.tsx:517

Starting hour for the time select (0-23).


useUtc?

optional useUtc: boolean

Defined in: src/ui/editors/datetimeeditor.tsx:529

Whether to store and display values in UTC.


yearRange?

optional yearRange: string

Defined in: src/ui/editors/datetimeeditor.tsx:527

Year range for the date picker (e.g. "-100:+50").