System and Web time differ

zydoon

Joined
Jul 27, 2008
Messages
10
Likes
0
Points
0
#1
Hi,

I'm in timezone Africa/Tunisia, we used to have DST, not enymore.

The system time is correct.
the time in the web interface is wrong (+1h), like it's still using DST.

anyway to fix this ?
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#2
upgrading tzdata packages every 6 months
 

zydoon

Joined
Jul 27, 2008
Messages
10
Likes
0
Points
0
#3
tzdat is up2date, system date/time is good, it's only different from the one the web interface.
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#4
then the php time is different look for the php / apache offset
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#5
Check the date.timezone settings in /etc/php.ini.Choose one that matches your real time.
 

zydoon

Joined
Jul 27, 2008
Messages
10
Likes
0
Points
0
#6
Re:System and Web time differ [SOLVED]

setting

date.timezone = "Africa/Tunis"

and restarting apache

service httpd restart

did it

Thank you guys :laugh:
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#7
Re: Re:System and Web time differ [SOLVED]

always thank with a karma up to the people that helps..in this case first dicko
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,564
Latest member
Mai Tuyen
Top