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

日志时间显示慢8小时怎么解决 #1283

Open
Elysia51 opened this issue Oct 16, 2024 · 9 comments
Open

日志时间显示慢8小时怎么解决 #1283

Elysia51 opened this issue Oct 16, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@Elysia51
Copy link

Description

我路由器的时间是东8时区的时间,但是路由器上安装的ddng-go日志时间就是utc,导致解析失败,请问怎么结局

DNS Provider

No response

Did you search for similar issues before submitting this one?

Yes, I did, but I didn't find anything useful

Operating System

Linux

Architecture

armv7

Version

v6.7.0

How are you running ddns-go?

Service

Any other information

No response

@Elysia51 Elysia51 added the bug Something isn't working label Oct 16, 2024
@jeessy2
Copy link
Owner

jeessy2 commented Oct 16, 2024

设置你路由器时区?

@Elysia51
Copy link
Author

红米路由器,时区是对的,时间也是对的,登录ssh安装ddns-go后,设置好后日志时间就是慢了8个小时,

@Elysia51 Elysia51 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2024
@Elysia51 Elysia51 reopened this Oct 17, 2024
@jeessy2
Copy link
Owner

jeessy2 commented Oct 17, 2024

什么系统

@pvzgh
Copy link

pvzgh commented Oct 21, 2024

红米路由器,时区是对的,时间也是对的,登录ssh安装ddns-go后,设置好后日志时间就是慢了8个小时,

如果是openwrt系统,在软件包安装zoneinfo-asia就可以解决。

也可以参考这个操作#328 (comment)

@lpcheng1208
Copy link
Contributor

什么系统

应该是 路由器 打开的SSH, 应该是基于OpenWrt 定制的,我这边开了ssh 装 ddns-go 确实也是有这个问题,路由器的资源相对比较小,可能时区包也安装不了,所以上次的pr 我觉得加入tZ 参数是可行的,就不限制是 安卓才走那个代码,不传tZ参数就用系统默认的

@jeessy2
Copy link
Owner

jeessy2 commented Oct 30, 2024

什么系统

应该是 路由器 打开的SSH, 应该是基于OpenWrt 定制的,我这边开了ssh 装 ddns-go 确实也是有这个问题,路由器的资源相对比较小,可能时区包也安装不了,所以上次的pr 我觉得加入tZ 参数是可行的,就不限制是 安卓才走那个代码,不传tZ参数就用系统默认的

能安装包解决就安装包,先不考虑传参

@lpcheng1208
Copy link
Contributor

什么系统

应该是 路由器 打开的SSH, 应该是基于OpenWrt 定制的,我这边开了ssh 装 ddns-go 确实也是有这个问题,路由器的资源相对比较小,可能时区包也安装不了,所以上次的pr 我觉得加入tZ 参数是可行的,就不限制是 安卓才走那个代码,不传tZ参数就用系统默认的

能安装包解决就安装包,先不考虑传参

也行

@lpcheng1208
Copy link
Contributor

什么系统

应该是 路由器 打开的SSH, 应该是基于OpenWrt 定制的,我这边开了ssh 装 ddns-go 确实也是有这个问题,路由器的资源相对比较小,可能时区包也安装不了,所以上次的pr 我觉得加入tZ 参数是可行的,就不限制是 安卓才走那个代码,不传tZ参数就用系统默认的

能安装包解决就安装包,先不考虑传参

装时区包,重启路由器可以解决

@Elysia51 Elysia51 closed this as completed Nov 8, 2024
@Elysia51 Elysia51 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2024
@Elysia51 Elysia51 reopened this Nov 8, 2024
@Elysia51
Copy link
Author

Elysia51 commented Nov 8, 2024

什么系统

应该是 路由器 打开的SSH, 应该是基于OpenWrt 定制的,我这边开了ssh 装 ddns-go 确实也是有这个问题,路由器的资源相对比较小,可能时区包也安装不了,所以上次的pr 我觉得加入tZ 参数是可行的,就不限制是 安卓才走那个代码,不传tZ参数就用系统默认的

能安装包解决就安装包,先不考虑传参

装时区包,重启路由器可以解决

什么系统

应该是 路由器 打开的SSH, 应该是基于OpenWrt 定制的,我这边开了ssh 装 ddns-go 确实也是有这个问题,路由器的资源相对比较小,可能时区包也安装不了,所以上次的pr 我觉得加入tZ 参数是可行的,就不限制是 安卓才走那个代码,不传tZ参数就用系统默认的

能安装包解决就安装包,先不考虑传参

装时区包,重启路由器可以解决

Screenshot_2024-11-08-08-00-50-504_com android browser-edit
Screenshot_2024-11-08-08-02-27-091_com sonelli juicessh-edit
系统是红米路由器自带的系统,登录ssh后时间显示是对的,登录面板后的时间就是错的

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

4 participants