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

openwrt 时区问题 #7

Open
zszeng opened this issue Mar 24, 2021 · 1 comment
Open

openwrt 时区问题 #7

zszeng opened this issue Mar 24, 2021 · 1 comment

Comments

@zszeng
Copy link

zszeng commented Mar 24, 2021

openwrt不存在/etc/localtime,而使用/etc/TZ标定时区
所以go的time.Local无法读取时区,导致定时任务时间错误
与上个uname issue类似,为openwrt构建与为标准linux构建有很多差别
另外,server酱标准接口即将下线,请加入server酱turbo接口

@zszeng
Copy link
Author

zszeng commented Mar 24, 2021

还有go程序在android termux环境下运行时 因为没有/etc/resolv.conf 应该需要手动指定dns(未在本工程上确认 仅供参考)

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

1 participant