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

当日期筛选方式为“推荐”或“相对”时,不应该保存为绝对时间 #424

Closed
scottsut opened this issue Dec 22, 2021 · 0 comments · Fixed by #431 or #446
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@scottsut
Copy link
Contributor

Datart版本号
1.0.0-alpha.3

错误描述
在日期型筛选配置面板的“推荐”和“手动 -> 相对”选择日期时,保存到图表配置中的时间为绝对时间

期望结果
应当保存为代表相对时间的枚举值或对象,在运行时转换为绝对时间。例如当用户选择“昨天”进行筛选,意味着他在未来的任意时刻查看图表时,看到的都是基于当前时间的“昨天”的数据

截图

image
image
image
image

@scottsut scottsut added the bug Something isn't working label Dec 22, 2021
@scottsut scottsut added this to the beta.0 milestone Dec 22, 2021
@scottsut scottsut linked a pull request Dec 24, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants