Skip to content

Commit

Permalink
docs: update README that automatic locale in iOS (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
1natsu172 authored and mmazzarolo committed Jan 21, 2020
1 parent 472ec36 commit a5002e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ The `is24Hour` prop is only available on Android but you can use a small hack fo
### How can I set an automatic locale in iOS

The datepicker can adjust by itself the locale (`fr_FR`, `en_GB`...) depending on the user's device locale.
To do so, edit your `AppDelegate.m` file adding:
To do so, edit your `AppDelegate.m` file and add the following to `didFinishLaunchingWithOptions`.

```objc
// Force DatePicker locale to current language (for: 24h or 12h format, full day names etc...)
Expand Down

0 comments on commit a5002e3

Please sign in to comment.