From d80dfc6b4b524d9d886b56a4bb09421cfb7e77c3 Mon Sep 17 00:00:00 2001 From: Henning Hall Date: Thu, 25 Apr 2019 19:44:43 +0200 Subject: [PATCH] Added FAQ to README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8ed41a1..d828d04 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,14 @@ timeZoneOffsetInMinutes | Timezone offset in minutes (default: device's timezone ## About 📅   React Native Date Picker is a cross platform component working on both iOS and Android. It uses the slightly improved DatePickerIOS on iOS and a custom picker on Android which has similar look and feel. The datetime mode might be particulary interesting if you looking for a way to avoid two different popup pickers on android. +## FAQ + +### How do i change the date order? (To YYYY-MM-DD etc) +The order is determined by the `locale` prop. Set for instance `locale='fr'`to get the France preference. + +### How do i change the 12/24h or AM/PM format? +On iOS the 12/24h preference is determined by the `locale` prop. Set for instance `locale='fr'`to get the France preference. On Android the 12/24h format is determined by the device setting. When using 12h mode the AM/PM part of the picker will be displayed. + ## Roadmap - [x] Mode: datetime - [x] Mode: date