Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Xiao committed Jan 26, 2019
1 parent e49f038 commit 8ebb565
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ Also consoled out on the demo page examples
```

### <a name="custom-locale"></a>Custom Locale (can be multiple locales)
By providing ```window.REACT_PICKY_DATE_TIME['customLocale']```, you can overwrite the current locale if you like or add new locale.
By providing ```window.REACT_PICKY_DATE_TIME['customLocale']```, you can overwrite the current locale if you like or add a new locale.

**IMPORTANT NOTE: YOU WILL NEED TO PLACE window.REACT_PICKY_DATE_TIME BEFORE YOUR JS SCRIPT**

<a href="https://codesandbox.io/s/l3n2ypvrzl">codesandbox example</a>(located in index.html)
Expand Down

0 comments on commit 8ebb565

Please sign in to comment.