Forum Time
-
@sampo2910 And your server time is the actual time for your time zone? Some cloud providers automatically set vm server time to UTC. Worth double checking.
-
@gotwf said in Forum Time:
@sampo2910 And your server time is the actual time for your time zone? Some cloud providers automatically set vm server time to UTC. Worth double checking.
The server is my machine at home. It is set to the actual time where I live EEST. Any events that occur in the forum show three hours behind.
-
Maybe it's just that events are displayed in UTC time and you're 3 hours ahead of UTC?
-
@sampo2910 These days it will be systemd related if on linux. I loathe systemd so eschew linux to the extent possible these days so.... good question...
Short answer:
man timedatectl
Otherwise DuckDuckGo is your friend:
-
@sampo2910 Your DE may only be setting time for your DE user session rather than the machine itself. Can you pull up a terminal session, su/sudo root and then drive these commands:
root@loon:~# date Wed Sep 15 11:33:52 MDT 2021 root@loon:~# date -u Wed Sep 15 17:33:54 UTC 2021
The first should return your computer's system time while the latter returns UTC. While you are at it double check that your system time is actually correct.
Note: As a matter of course I configure my servers to use UTC for log time consistency across data centers.
-
I'm guessing you live somewhere in eastern Europe?
NodeBB events are logged in UTC time. There's no way to change that currently. Either get used to it, or open an issue on GitHub.
-
@pitaj Aye, caramba!! All my stuff in on UTC so I'd not even considered such.
Be that as it may, I do believe it is convention for system logs to log system time, whatever that zone may be. Leastwise *nix side so maybe this could be considered a bug. But it is kind of a good bug cuz UTC is what ya' want to be on server side, imho.
-
@pitaj said in Forum Time:
I'm guessing you live somewhere in eastern Europe?
NodeBB events are logged in UTC time. There's no way to change that currently. Either get used to it, or open an issue on GitHub.
Get used to it is not a solution. Does not matter where I live.
It should be considered as a bug as said above. Any system log should be the system time.
-
We log UTC time because then it doesn't matter where your server is or where you live. This isn't likely to change, but as I said, you can always ask on GitHub.