Skip to content

Commit

Permalink
feat(field): add localizedFormat plugin to dayjs (#8582)
Browse files Browse the repository at this point in the history
refs: #7348
  • Loading branch information
lynette-li authored Aug 5, 2024
1 parent e2b2ea6 commit 806935d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/field/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import isoWeek from 'dayjs/plugin/isoWeek';
import localeData from 'dayjs/plugin/localeData';
import weekday from 'dayjs/plugin/weekday';
import weekOfYear from 'dayjs/plugin/weekOfYear';
import localizedFormat from 'dayjs/plugin/localizedFormat';

import dayjs from 'dayjs';

Expand All @@ -62,6 +63,7 @@ dayjs.extend(advancedFormat);
dayjs.extend(isoWeek);
dayjs.extend(weekOfYear);
dayjs.extend(weekday);
dayjs.extend(localizedFormat);

export type ProFieldMoneyProps = FieldMoneyProps;

Expand Down

0 comments on commit 806935d

Please sign in to comment.