Open sleepserenade opened 4 years ago
well, i think you can't controll absolutely this component, you can use locale (https://facebook.github.io/react-native/docs/datepickerios#locale) setting in ios. and refer to #71
confirmBtnText="确定"
cancelBtnText="取消"
locale={"zh-Hans"}
locale={I18n.currentLocale()} import I18n,it worked for me
thank you
------------------ 原始邮件 ------------------ 发件人: "wolfXu"<notifications@github.com>; 发送时间: 2020年4月29日(星期三) 上午10:21 收件人: "xgfe/react-native-datepicker"<react-native-datepicker@noreply.github.com>; 抄送: "Chox"<552428774@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [xgfe/react-native-datepicker] 如何把月份英文换成数字 (#405)
locale={I18n.currentLocale()} import I18n,it worked for me
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
confirmBtnText="确定" cancelBtnText="取消" locale={"zh-Hans"}
Issue
Expected Behavior
Code
Environment
react-native -v
:node -v
:npm -v
:yarn --version
:target platform
: Android | iOSoperating system
: