Skip to content
New issue

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

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

Already on GitHub? # to your account

online 报表中类型配置为日期(yyyy-MM-dd ),但是实际展示为日期时间格式(yyyy-MM-dd HH:mm:ss) #3042

Closed
xiaolinVV opened this issue Sep 17, 2021 · 4 comments

Comments

@xiaolinVV
Copy link

版本号:

v2.4.6

问题描述:

online 报表中类型配置为日期,但是实际展示为日期时间格式,而不是 yyyy-MM-dd 这种格式,后面时间部门默认都是 0 了

截图&代码:

image
image

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
@zhangdaiscott
Copy link
Member

数据库的字段类型是什么?截图看下表的数据

@xiaolinVV
Copy link
Author

字段类型为 date,存储数据为 2021-09-23 00:00:00

但是我选择的数据类型为日期类型,显示到列表中不是按照 yyyy-MM-dd 进行格式化么? @zhangdaiscott

@zhangdaiscott
Copy link
Member

收录 ty

@tygithub1
Copy link

已经支持,请等下个新版本发布

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

No branches or pull requests

3 participants