You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some problems in the locale set.
UIDatePicker *date1=[[UIDatePicker alloc]init];
[date1 setLocale:[NSLocale localeWithLocaleIdentifier:@"zh_CN"]];//set china local
date1.datePickerMode=UIDatePickerModeDate;
picker.datePickerView=date1;
picker.pickerType = SBPickerSelectorTypeDate; //select date(needs implements delegate method with date)
picker.datePickerType = SBPickerSelectorDateTypeOnlyDay;//display format yyyy-MM-dd
But this not work, display month, day, and year (e.g. November | 15 | 2007).
I want displays year ,month, and day depending on the locale setting (e.g. 2007 | November | 15 )
version: 'SBPickerSelector', '~> 1.1.0'.
Thanks for any suggestion.
The text was updated successfully, but these errors were encountered:
I have some problems in the locale set.
UIDatePicker *date1=[[UIDatePicker alloc]init];
[date1 setLocale:[NSLocale localeWithLocaleIdentifier:@"zh_CN"]];//set china local
date1.datePickerMode=UIDatePickerModeDate;
picker.datePickerView=date1;
picker.pickerType = SBPickerSelectorTypeDate; //select date(needs implements delegate method with date)
picker.datePickerType = SBPickerSelectorDateTypeOnlyDay;//display format yyyy-MM-dd
But this not work, display month, day, and year (e.g. November | 15 | 2007).
I want displays year ,month, and day depending on the locale setting (e.g. 2007 | November | 15 )
version: 'SBPickerSelector', '~> 1.1.0'.
Thanks for any suggestion.
The text was updated successfully, but these errors were encountered: