From 4fe88a5577ed9a0a1e3a9a29d7709e821b72cfa8 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 17 Jun 2022 17:41:01 +0800 Subject: [PATCH] docs: add locale link in Calender (#36108) close https://github.com/ant-design/ant-design/issues/36107#issuecomment-1158630726 --- components/calendar/index.en-US.md | 8 +------- components/calendar/index.zh-CN.md | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/components/calendar/index.en-US.md b/components/calendar/index.en-US.md index 7614cffb3c..bced3dcf30 100644 --- a/components/calendar/index.en-US.md +++ b/components/calendar/index.en-US.md @@ -14,14 +14,7 @@ When data is in the form of dates, such as schedules, timetables, prices calenda ## API -**Note:** Part of the Calendar's locale is read from `value`. So, please set the locale of `moment` correctly. - ```jsx -// The default locale is en-US, if you want to use other locale, just set locale in entry file globally. -// import moment from 'moment'; -// import 'moment/locale/zh-cn'; -// moment.locale('zh-cn'); -