Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: shahmir on September 08, 2023, 12:53:38 AM

Title: User Panel timezone
Post by: shahmir on September 08, 2023, 12:53:38 AM
 I am trying to set server time to "country/city" timezone, so i changed timezone from cwp admin panel/server Date & Time and then edited both php.ini in php and php7 folder.
server time is shows correct time(Country/City) in admin panel but in user control panel stills shows utc time.
could you please let me know how can i set user panel time as well?
Title: Re: User Panel timezone
Post by: josemnunez on September 08, 2023, 07:42:22 AM
Hello

make sure to restart the cpw services so bull is fine
Title: Re: User Panel timezone
Post by: overseer on September 08, 2023, 02:35:01 PM
As a matter of housekeeping, you should check at the OS level to make sure your overall system time is correct and syncing with a times server.

Set the timezone:
Code: [Select]
timedatectl set-timezone America/Chicago
Install NTP:
Code: [Select]
yum install ntp
systemctl start ntpd.service
systemctl enable ntpd.service

Set the NTP servers in /etc/ntp.conf:
Code: [Select]
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org