Skip to content

Commit 0383c54

Browse files
Update README.md
1 parent 9304567 commit 0383c54

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- Smooth and fast cross platform Material Design **date** picker and **time** picker for React Native Paper
88
- Tested on Android, iOS and the web platform!
9-
- Uses the native Date.Intl API's which work out of the box on the web / iOS
9+
- Uses the native Date.Intl API's which work out of the box on the web / iOS (automatic day name, month translations without bundle size increase)
1010
- Simple API
1111
- Typesafe
1212
- Endless scrolling
@@ -74,6 +74,7 @@ function SingleDatePage() {
7474
saveLabel="Save" // optional
7575
label="Select date" // optional
7676
animationType="slide" // optional, default is 'slide' on ios/android and 'none' on web
77+
locale={'en'} // optional, default is automically detected by your system
7778
/>
7879
<Button onPress={()=> setVisible(true)}>
7980
Pick date
@@ -115,6 +116,7 @@ export default function RangeDatePage() {
115116
startLabel="From" // optional
116117
endLabel="To" // optional
117118
animationType="slide" // optional, default is slide on ios/android and none on web
119+
locale={'en'} // optional, default is automically detected by your system
118120
/>
119121
<Button onPress={()=> setVisible(true)}>
120122
Pick range
@@ -158,6 +160,7 @@ export default function TimePickerPage() {
158160
cancelLabel="Cancel" // optional, default: 'Cancel'
159161
confirmLabel="Ok" // optional, default: 'Ok'
160162
animationType="fade" // optional, default is 'none'
163+
locale={'en'} // optional, default is automically detected by your system
161164
/>
162165
<Button onPress={()=> setVisible(true)}>
163166
Pick time

0 commit comments

Comments
 (0)