gogo Well-known member May 20, 2020 #1 It makes me difficult to tell when it happened. The server already had local time set by timedatectl, but ACP still uses UTC.
It makes me difficult to tell when it happened. The server already had local time set by timedatectl, but ACP still uses UTC.
phucvandinh Active member May 20, 2020 #2 I think this problem due to your PHP timezone still in UTC. Upvote 0 Downvote
ENF Well-known member May 20, 2020 #3 gogo said: The server already had local time set by timedatectl, but ACP still uses UTC. Click to expand... I'd double check the php time setting and make sure which php config file your install is reading from. Run the phpinfo command from xenforo install area and confirm that the timezone is set correctly. Upvote 0 Downvote
gogo said: The server already had local time set by timedatectl, but ACP still uses UTC. Click to expand... I'd double check the php time setting and make sure which php config file your install is reading from. Run the phpinfo command from xenforo install area and confirm that the timezone is set correctly.
gogo Well-known member May 20, 2020 #4 phucvandinh said: I think this problem due to your PHP timezone still in UTC. Click to expand... ENF said: I'd double check the php time setting and make sure which php config file your install is reading from. Run the phpinfo command from xenforo install area and confirm that the timezone is set correctly. Click to expand... True. phpinfo() shows timezone is UTC. I've updated the php.ini and restarted the webserver. But it's still the same. I'll check this later. Upvote 0 Downvote
phucvandinh said: I think this problem due to your PHP timezone still in UTC. Click to expand... ENF said: I'd double check the php time setting and make sure which php config file your install is reading from. Run the phpinfo command from xenforo install area and confirm that the timezone is set correctly. Click to expand... True. phpinfo() shows timezone is UTC. I've updated the php.ini and restarted the webserver. But it's still the same. I'll check this later.
gogo Well-known member May 20, 2020 #5 ok i need to restart PHP-FPM too. Problem solved. Thanks guy! Upvote 0 Downvote
ENF Well-known member May 20, 2020 #6 gogo said: ok i need to restart PHP-FPM too. Problem solved. Thanks guy! Click to expand... Good to hear. Was going suggest that if you hadn't already. Upvote 0 Downvote
gogo said: ok i need to restart PHP-FPM too. Problem solved. Thanks guy! Click to expand... Good to hear. Was going suggest that if you hadn't already.
gogo Well-known member Jun 4, 2020 #7 Actually after successfully changing the timezone of PHP, the time in ACP logs still show UTC time. Upvote 0 Downvote
ENF Well-known member Jun 4, 2020 #8 gogo said: Actually after successfully changing the timezone of PHP, the time in ACP logs still show UTC time. Click to expand... What's your user account timezone set to? Upvote 0 Downvote
gogo said: Actually after successfully changing the timezone of PHP, the time in ACP logs still show UTC time. Click to expand... What's your user account timezone set to?
ENF Well-known member Jun 4, 2020 #9 No, I mean your Xenforo account that you use within the ACP. Upvote 0 Downvote
gogo Well-known member Jun 4, 2020 #10 You mean the admin account? Oh.. that maybe the problem. It's the default. Upvote 0 Downvote
ENF Well-known member Jun 4, 2020 #11 gogo said: You mean the admin account? Oh.. that maybe the problem. It's the default. Click to expand... Change your admin account timezone and see if that sets it correctly. Upvote 0 Downvote
gogo said: You mean the admin account? Oh.. that maybe the problem. It's the default. Click to expand... Change your admin account timezone and see if that sets it correctly.
gogo Well-known member Jun 4, 2020 #12 How do I create something in ACP that shows a current time stamp? It usually just show a moment ago or x minutes ago. There seems to be nowhere that shows a current time in ACP. Upvote 0 Downvote
How do I create something in ACP that shows a current time stamp? It usually just show a moment ago or x minutes ago. There seems to be nowhere that shows a current time in ACP.
ENF Well-known member Jun 4, 2020 #13 You can just look at your admin log or something under tools. Search a user and it'll show up under your admin log Upvote 0 Downvote
You can just look at your admin log or something under tools. Search a user and it'll show up under your admin log
gogo Well-known member Jun 4, 2020 #14 It should be correct now as those time looks good to me. Thanks a lot! Upvote 0 Downvote
ENF Well-known member Jun 4, 2020 #15 gogo said: It should be correct now as those time looks good to me. Thanks a lot! Click to expand... Great. Glad you got it solved. Upvote 0 Downvote
gogo said: It should be correct now as those time looks good to me. Thanks a lot! Click to expand... Great. Glad you got it solved.