File tree 1 file changed +5
-2
lines changed 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,8 @@ class DatePicker extends Component {
338
338
TouchableComponent,
339
339
testID,
340
340
cancelBtnTestID,
341
- confirmBtnTestID
341
+ confirmBtnTestID,
342
+ locale
342
343
} = this . props ;
343
344
344
345
const dateInputStyle = [
@@ -397,6 +398,7 @@ class DatePicker extends Component {
397
398
minuteInterval = { minuteInterval }
398
399
timeZoneOffsetInMinutes = { timeZoneOffsetInMinutes }
399
400
style = { [ Style . datePicker , customStyles . datePicker ] }
401
+ locale = { locale }
400
402
/>
401
403
</ View >
402
404
< TouchableComponent
@@ -476,7 +478,8 @@ DatePicker.propTypes = {
476
478
placeholder : PropTypes . string ,
477
479
modalOnResponderTerminationRequest : PropTypes . func ,
478
480
is24Hour : PropTypes . bool ,
479
- getDateStr : PropTypes . func
481
+ getDateStr : PropTypes . func ,
482
+ locale : PropTypes . string ,
480
483
} ;
481
484
482
485
export default DatePicker ;
You can’t perform that action at this time.
0 commit comments