From a5002e38044b08f7a66d3073c9049b1aa105e10f Mon Sep 17 00:00:00 2001 From: 1natsu <1natsu172@users.noreply.github.com> Date: Tue, 21 Jan 2020 16:57:31 +0900 Subject: [PATCH] docs: update README that automatic locale in iOS (#354) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 26e455a..2ca8160 100644 --- a/README.md +++ b/README.md @@ -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...)