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

[功能请求]: 在系统时间发生变更时重新从 NTP 服务器同步时间 #100

Closed
3 tasks done
kaokao221 opened this issue Apr 22, 2024 · 3 comments
Closed
3 tasks done
Assignees
Labels
enhancement New feature or request

Comments

@kaokao221
Copy link

检查清单

  • 我已经在 Issues 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已经详细阅读过应用的帮助文档,但我想要的功能没有实现。
  • 我已确认我的功能尚未在 dev 分支实现。

背景与动机

前情提要:我们班的班机很神奇,关机后概率性时间回零 (2013-1-1 00:00)。

想要实现或优化的功能

为了登希沃,需要手动同步 NTP 时间,由于 ClassIsland 的 NTP 工作基于求时间差运行,会导致系统时间校准后 ClassIsland 时间故障,故可以考虑在侦测到系统时间变化时先不刷新主窗口,而是再次同步时间后刷新。

@kaokao221 kaokao221 added the enhancement New feature or request label Apr 22, 2024
@HelloWRC
Copy link
Member

感谢您的建议。

@Misaka2298
Copy link

建议加一个开关
因为在本地调试时间表的过程中会多次手动修改系统时间(本人是这样的,用来测试课表效果),如果强制同步ntp时间的话可能会给调试带来不必要的麻烦

@HelloWRC
Copy link
Member

HelloWRC commented May 3, 2024

已实现。

@HelloWRC HelloWRC closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants