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

[Bug] 时区未考虑daylight saving time #532

Open
4 tasks done
terrytw opened this issue Jun 5, 2024 · 2 comments
Open
4 tasks done

[Bug] 时区未考虑daylight saving time #532

terrytw opened this issue Jun 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@terrytw
Copy link

terrytw commented Jun 5, 2024

Verify steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Latest 我已经使用 最新源码 测试过,问题依旧存在
  • Core 这是 QD 框架存在的问题,并非我所使用的 QD 早期版本(如 20210628及之前版号 等)或模板的特定问题
  • Meaningful 我提交的不是无意义的 催促更新或修复 请求

QD Version

20240210

Bug on OS

Linux

Bug on Platform

Docker/Linux 64位

To Reproduce

选择某特定带有DST的时区,比如北美太平洋时区。

Describe the Bug

定时功能是正常的,手动执行回显是正常的,日志是不正常的,上次运行、下次成功是不正常的
详见:
1
2
3
正确时间是22:21

QD config

No response

QD log

并无报错

Expected behavior

时间显示一致且正确

Screenshots

No response

@terrytw terrytw added the bug Something isn't working label Jun 5, 2024
@terrytw terrytw changed the title [Bug] 时区未考虑day light saving time [Bug] 时区未考虑daylight saving time Jun 5, 2024
@a76yyyy
Copy link
Contributor

a76yyyy commented Jun 16, 2024

我记得前端显示时间是浏览器本地时间, 手动执行日志显示的时间是服务端的本地时间

@terrytw
Copy link
Author

terrytw commented Jun 16, 2024

我记得前端显示时间是浏览器本地时间, 手动执行日志显示的时间是服务端的本地时间

1

2
这真的很奇怪...
第一张图我刚刚执行了一下某任务,可以看到系统时间和QD的前端时间明显差了一个小时
第二张图是在某网站获取的浏览器时间

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
Development

No branches or pull requests

2 participants