taro-ui icon indicating copy to clipboard operation
taro-ui copied to clipboard

设置<AtCalendar monthFormat='YYYY-MM' > 选择月份的面板没有展示正确的年月格式

Open Cooper1886 opened this issue 1 year ago • 2 comments

问题描述 日历组件 下图位置的格式默认是2024年06月 image

通过monthFormat月份格式YYYY-MM 修改为2024-06 但是点击此处选择年月的picker还是展示的2024年 06月,这里也应该根据月份格式展示才对吧 image

复现步骤

<AtCalendar monthFormat='YYYY-MM' >

期望行为 期望点击日历面板选择年月份的位置,展示出和monthFormat同样格式的数据

报错信息

系统信息

  • Taro 版本 [e.g. v.3.6.22]
  • Taro UI 版本 [e.g. v.3.2.2]

补充信息 image

Cooper1886 avatar Jun 12 '24 05:06 Cooper1886

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

taro-ui-bot[bot] avatar Jun 12 '24 05:06 taro-ui-bot[bot]

这个FQ应该直接去NervJS/taro里面提出,taro-ui弹层掉起的是taro封装的picker库,它自身就不支持格式的设置,taro-ui是修改的按钮 截屏2024-07-08 10 57 01 截屏2024-07-08 10 59 55

ilk-1 avatar Jul 08 '24 03:07 ilk-1