docs: Added alternate example to modify start day of week (#31565)

* Added alternate example to modify start day of week

When I looked at the documentation, The `https://codesandbox.io/s/moment-day-of-week-6dby5` link did not work for me.

https://stackblitz.com/edit/react-9aegkj works

* fix: formatting
This commit is contained in:
Ritesh Makan 2021-07-28 12:34:37 +02:00 committed by GitHub
parent c092ea89a7
commit b97954226d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,7 +183,10 @@ DatePicker default set `locale` as `en` in v4. You can config DatePicker `locale
### How to modify start day of week?
Please use correct [language](/docs/react/i18n) ([#5605](https://github.com/ant-design/ant-design/issues/5605)), or update moment `locale` config: <https://codesandbox.io/s/moment-day-of-week-6dby5>
Please use correct [language](/docs/react/i18n) ([#5605](https://github.com/ant-design/ant-design/issues/5605)), or update moment `locale` config:
- Example: <https://codesandbox.io/s/moment-day-of-week-6dby5>
- Alternate example: <https://stackblitz.com/edit/react-9aegkj>
### Why origin panel don't switch when using `panelRender`?