Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法显示月份 #547

Open
564077048 opened this issue Nov 25, 2024 · 1 comment
Open

无法显示月份 #547

564077048 opened this issue Nov 25, 2024 · 1 comment

Comments

@564077048
Copy link

微信图片_20241125150333
BrnDatePicker.showDatePicker(context,
maxDateTime: DateTime.parse('2028-01-01 18:26'),
minDateTime: DateTime.parse('2020-01-01 18:26'),
initialDateTime: DateTime.parse('2024-11-25 18:26'),
// 支持DateTimePickerMode.date、DateTimePickerMode.datetime、DateTimePickerMode.time
pickerMode: BrnDateTimePickerMode.datetime,
minuteDivider: 1,
//pickerTitleConfig: BrnPickerTitleConfig.Default,
dateFormat: 'yyyy-MM-dd HH:mm',
onConfirm: (dateTime, list) {
BrnToast.show("onConfirm: $dateTime $list", context);
},
onClose: () {
print("onClose");
},
onCancel: () {
print("onCancel");
},
onChange: (dateTime, list) {
print("onChange: $dateTime $list");
});

@yecaiyu1999
Copy link

localizationsDelegates: [
......
BrnLocalizationDelegate.delegate,
]
你把这个配上试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants