diff --git a/packages/calendar/Readme.md b/packages/calendar/Readme.md index 74fde38a..4546a810 100644 --- a/packages/calendar/Readme.md +++ b/packages/calendar/Readme.md @@ -1,6 +1,13 @@ ``` console.log('date is ' + date)} /> ``` + +If you want to use another locale (like e.g. Dutch) you have to manually import it. You can also choose to load more locales and define the right one via the `locale` prop. If no locales are defined React will fall back to English. + +```js static +import 'moment/locale/nl'; +``` diff --git a/packages/form/Readme.md b/packages/form/Readme.md index 06dacdcb..16fc457b 100644 --- a/packages/form/Readme.md +++ b/packages/form/Readme.md @@ -545,12 +545,18 @@ const optionsDistrict = [ ### Datepicker +If you want to use another locale (like e.g. Dutch) you have to manually import it. You can also choose to load more locales and define the right one via the `locale` prop. If no locales are defined React will fall back to English. + +```js static +import 'moment/locale/nl'; +``` + ``` const Datepicker = require('./src').Datepicker;