1Panel-dev / 1Panel-dev/1Panel
[Bug] SSH login log displays incorrect timezone
@wanghe-fit2cloud is already working on this.
Since Sep 19, 2026.
- Dominant language
- Go
- Stars
- 37k
- Forks
- 3.4k
- Avg merge
- 9h 16m
- Merged PRs (30d)
- 105
Description
Contact Information
No response
1Panel Version
v2.3.1
Problem Description
The SSH login log in the 1Panel interface displays an incorrect time.
The server timezone is Asia/Taipei (UTC+08:00). The terminal, Fail2ban logs, and auth.log show the correct local time, but the SSH login log in 1Panel is 6 hours behind.
For example:
- Actual server time: 2026-09-19 10:44
- Time shown in 1Panel SSH log: approximately 2026-09-19 04:44
This may be caused by an incorrect timezone conversion in the backend API or frontend.
Steps to Reproduce
- Set the server timezone to Asia/Taipei (UTC+08:00).
- Log in to the server through SSH.
- Open 1Panel.
- Go to Logs -> SSH Logs.
- Compare the login time with the server time or /var/log/auth.log.
- The time shown in 1Panel is 6 hours behind.
The expected correct result
The SSH login log should display the correct time according to the server timezone, Asia/Taipei (UTC+08:00).
Related log output
Local time: Sat 2026-09-19 10:44:34 CST
Time zone: Asia/Taipei (CST, +0800)
Additional Information
Fail2ban logs and the terminal display the correct local time. Only the SSH login log in the 1Panel web interface displays the incorrect time.
Changing the display timezone to Europe/Berlin summer time makes the displayed time change, which suggests that the panel is applying an incorrect timezone conversion.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.