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

Mirai 默认日志系统应该使用系统时区 #1639

Closed
Xiaomckedou233 opened this issue Nov 2, 2021 · 5 comments · Fixed by #1658
Closed

Mirai 默认日志系统应该使用系统时区 #1639

Xiaomckedou233 opened this issue Nov 2, 2021 · 5 comments · Fixed by #1658
Labels
N 优先级: 一般 t:problem 类型: 不容易归类为特性或 bug 的综合问题
Milestone

Comments

@Xiaomckedou233
Copy link

系统为Ubuntu20.04LTS
时区改为上海的UTC+8
但是每次改完之后在打开就发现Mirai用的还是UTC,完全改不回来
image

image
有没有大佬能救救

@Xiaomckedou233 Xiaomckedou233 added the t:feature 类型: 新特性 label Nov 2, 2021
@cssxsh
Copy link
Contributor

cssxsh commented Nov 2, 2021

百度或谷歌 linux时间和win10差8小时

@Xiaomckedou233
Copy link
Author

谢谢大佬

@Xiaomckedou233
Copy link
Author

百度或谷歌 linux时间和win10差8小时

不行,改了机子物理时间也不行。依旧UTC

@cssxsh
Copy link
Contributor

cssxsh commented Nov 2, 2021

那就调整系统时区

@Karlatemp
Copy link
Member

目前默认日志系统写死为 中国 时区, 更可能的为你系统的实际时间错误

@Karlatemp Karlatemp added the x:question 标签: 需要更多信息 label Nov 3, 2021
@Karlatemp Karlatemp changed the title Mirai时间使用UTC Mirai 默认日志系统应该使用系统时区 Nov 3, 2021
@Karlatemp Karlatemp added N 优先级: 一般 t:problem 类型: 不容易归类为特性或 bug 的综合问题 and removed t:feature 类型: 新特性 labels Nov 3, 2021
@Karlatemp Karlatemp added this to the Backlog milestone Nov 3, 2021
@Him188 Him188 removed the x:question 标签: 需要更多信息 label Nov 6, 2021
@Karlatemp Karlatemp modified the milestones: Backlog, 2.9 Nov 7, 2021
@Him188 Him188 modified the milestones: 2.9, 2.9.0-M1 Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
N 优先级: 一般 t:problem 类型: 不容易归类为特性或 bug 的综合问题
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants