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

Incorrect system time on Android/termux #262

Closed
shuen2023 opened this issue May 13, 2023 · 2 comments
Closed

Incorrect system time on Android/termux #262

shuen2023 opened this issue May 13, 2023 · 2 comments

Comments

@shuen2023
Copy link

Screenshot_20230513_185924_com termux_edit_129841903426873

When I started recording with klog, I found that the time klog fetched was not the current system's time. Help take a look, thanks.

@jotaen jotaen changed the title Hello, I am experiencing time and system time inconsistencies when using klog in termux Incorrect system time on Android/termux May 14, 2023
@jotaen
Copy link
Owner

jotaen commented May 14, 2023

This appears to be an issue with Termux / Android and Go, where the timezone for all Go apps seem to ignore the system time zone and erroneously use UTC instead. See termux/termux-packages#2622 and golang/go#20455 for reference.

Unfortunately, this is not something that can be fixed in klog, but we’ll have to wait until a patch will be published in Termux or Go.

@jotaen jotaen closed this as completed May 14, 2023
@shuen2023
Copy link
Author

这似乎是 Termux/Android 和 Go 的一个问题,所有 Go 应用程序的时区似乎都忽略了系统时区并错误地使用了 UTC。参考termux/termux-packages#2622golang/go#20455

不幸的是,这不是可以在 klog 中修复的问题,但我们必须等到 Termux 或 Go 中发布补丁。

thanks

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

2 participants