Skip to content

Commit

Permalink
fix(form): #6862 兼容 antd@4 ProFormTimePicker format 异常问题
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfulyang authored and powerfulyang committed Mar 28, 2023
1 parent 77d524e commit 918854c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/utils/src/parseValueToMoment/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import dayjs from 'dayjs';
import { isNil } from '../isNil';
import customParseFormat from "dayjs/plugin/customParseFormat";

dayjs.extend(customParseFormat);

type DateValue = dayjs.Dayjs | dayjs.Dayjs[] | string | string[] | number | number[];

Expand Down

0 comments on commit 918854c

Please sign in to comment.