PGDatePicker icon indicating copy to clipboard operation
PGDatePicker copied to clipboard

开启循环年月日,选中6月31日,跳到5月,日期选择会有问题

Open WenMingYan opened this issue 5 years ago • 1 comments

WenMingYan avatar May 31 '19 07:05 WenMingYan

如果模式选择年/月(没有日),然后,当前时间是5月31日,当选了6月份。 PGDatePicker返回的时间,就是xxxx年6月31日,格式化后,就是xxxx年7月。 这是因为默认的selectedComponents是当前时间,day为31导致的。

jw10126121 avatar May 31 '19 07:05 jw10126121