Extended Date Time Range Picker

Basic usage

Bind a variable to v-model.

Change the input format

Uses date-fns library formatting.

Change the relative parts

Using the relativeDateParts prop the list of relative parts from/ago can be adjusted

Ranges

Using the presetRanges prop the list of quick ranges can be adjusted

Inline

Component can be displayed in inline mode using inline prop

Attributes

Inherits attributes of VcDatetimeRangePicker

Table Title

AttributeDescriptionTypeAccepted ValuesDefault
model-value / v-modelv-model bindingObject{ from: Date | null, to: Date | null }{ from: null, to: null }
inputValueFormatIn which format the value will be displayed in inputstring-MM/dd/yyyy, hh:mm
relativeDatePartsWhich options will be generated for relative dropdown selectionstring[]'years' | 'months' | 'weeks' | 'days' | 'hours' | 'minutes' | 'seconds'['years', 'months', 'weeks', 'days', 'hours', 'minutes', 'seconds']
presetRangesWhen configured, it will provide a button with tooltip of configured range that user can selectArray{ label: string, range: { from: Date | string, to: Date | string } }[]
inlineWhen passed true, the element will be displayed in inline modeBooleantrue | falsefalse