fix(web-antdv-next): normalize date picker timestamp handling
Add DatePicker and RangePicker adapter wrappers for numeric timestamp values, route direct value-format="x" usages through the adapter, and keep ShortcutDateRangePicker values as Dayjs.
This commit is contained in:
@@ -91,7 +91,6 @@ onMounted(() => {
|
||||
<DateRangePicker
|
||||
v-model:value="times"
|
||||
:format="rangePickerProps.format"
|
||||
:value-format="rangePickerProps.valueFormat"
|
||||
:placeholder="rangePickerProps.placeholder"
|
||||
:presets="rangePickerProps.presets"
|
||||
class="!w-full !max-w-96"
|
||||
|
||||
Reference in New Issue
Block a user