System and Web time differ

Discussion in 'General' started by zydoon, Mar 29, 2011.

  1. zydoon

    Joined:
    Jul 27, 2008
    Messages:
    10
    Likes Received:
    0
    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 ?
     
  2. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    upgrading tzdata packages every 6 months
     
  3. zydoon

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

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    then the php time is different look for the php / apache offset
     
  5. dicko

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

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

    setting

    date.timezone = "Africa/Tunis"

    and restarting apache

    service httpd restart

    did it

    Thank you guys :laugh:
     
  7. fmvillares

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

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

Share This Page