Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2025-02-19 02:10:41 +00:00
commit 6de6928cc2

View File

@ -197,7 +197,7 @@ DatePicker.RangePicker = function RangePicker(props: any) {
{ label: t('Next 90 days'), value: rangesValue.next90Days },
];
const targetPicker = value ? inferPickerType(value?.[0]) : picker;
const targetPicker = value ? inferPickerType(value?.[0], picker) : picker;
const targetDateFormat = getPickerFormat(targetPicker) || format;
const newProps: any = {
utc,