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

日期范围框 默认值 天少个0 #2536

Closed
wYoona opened this issue Apr 9, 2024 · 4 comments
Closed

日期范围框 默认值 天少个0 #2536

wYoona opened this issue Apr 9, 2024 · 4 comments

Comments

@wYoona
Copy link

wYoona commented Apr 9, 2024

版本号:

1.6.6

问题描述:

日期范围框 默认值
=concat(dateStr('yyyy-MM',-1),'-',dateStr('dd'))|=dateStr('yyyy-MM-dd')
天 少个0

错误日志&截图:

5146260b7243cf6b23849738e129267e

重现步骤:

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

  • 积木报表是一款免费报表产品,功能免费源码不开放;
  • 未按格式要求发帖,会被直接删掉;
  • 请针对问题提供[报表设计配置或SQL脚本]或在官网制作报表示例并提供ID;
  • 针对不好重现的问题,请录制操作视频或详细的重现步骤;
@jeecgos
Copy link
Collaborator

jeecgos commented Apr 19, 2024

cr

@jeecgos
Copy link
Collaborator

jeecgos commented Apr 23, 2024

image
未复现,请提供详细复现步骤或在官网创建示例。

@wYoona
Copy link
Author

wYoona commented Apr 23, 2024

将本机时间设置为每月的1号至9号其中的一天,直接点击查询。

@hoperunChen
Copy link

hoperunChen commented Apr 25, 2024

已修复,请等待新版本发布。
原来的=dateStr('dd')会去零,新版本中使用=date2Str('dd')来获取日期值,该函数不去零。

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

4 participants