Skip to content

docs: fix custom date library registration order - #8580

Open
Zoushen6 wants to merge 1 commit into
vueComponent:mainfrom
Zoushen6:docs/fix-8567-date-library-order
Open

docs: fix custom date library registration order#8580
Zoushen6 wants to merge 1 commit into
vueComponent:mainfrom
Zoushen6:docs/fix-8567-date-library-order

Conversation

@Zoushen6

Copy link
Copy Markdown

Description of Problem

The custom date library documentation registers the Moment.js or date-fns
components before the full ant-design-vue plugin. The full plugin then
registers the default dayjs-based components with the same component names,
overriding the custom implementations.

Fixes #8567.

Proposed Solution

Register the full ant-design-vue plugin first, followed by DatePicker,
TimePicker, and Calendar from the selected custom date library.

Update both the Chinese and English notes to describe the correct order.

Additional Information

Verified the component installation flow and ran git diff --check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

momentjs替换dayjs的文档错误

1 participant