From bc2c1e15b8e874a1f86916723bd06aadea5911f5 Mon Sep 17 00:00:00 2001 From: zhuxq <46339071+zxq08@users.noreply.github.com> Date: Thu, 28 Mar 2024 11:25:38 +0800 Subject: [PATCH] docs: Update i18n.zh-CN.md (#48138) add two lines for import dayjs i18n. that's an explain for date-picker's i18n wasn't effective Signed-off-by: zhuxq <46339071+zxq08@users.noreply.github.com> --- docs/react/i18n.zh-CN.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/react/i18n.zh-CN.md b/docs/react/i18n.zh-CN.md index 5f372a48c0..8310acae3d 100644 --- a/docs/react/i18n.zh-CN.md +++ b/docs/react/i18n.zh-CN.md @@ -13,6 +13,8 @@ antd 提供了一个 React 组件 [ConfigProvider](/components/config-provider-c ```jsx import zhCN from 'antd/locale/zh_CN'; +// for date-picker i18n +import 'dayjs/locale/zh-cn'; return (