Problems with Hours on fog.



  • Hello, I’m French so sorry for my english.

    The Hours of my Ubuntu Server is 4:29 PM but on FOG the hours is 2:30 PM. I Would like change hours of FOG but i don’t know what do this. Please can you help me?
    .[ATTACH=full]646[/ATTACH]

    [url="/_imported_xf_attachments/0/646_Hours Problem.PNG?:"]Hours Problem.PNG[/url]


  • Developer

    And you have restarted apache2?

    Is there another line in the config with a different timezone set? If there is one further down it will override the line you are setting.



  • I’m but no change again


  • Developer

    It should be [SIZE=12px][I]date.timezone=“Europe/Paris”[/I][/SIZE]



  • yes i’m sure but the directory of my php.ini is [I][SIZE=12px]/etc/php5/apache2/php.ini[/SIZE][/I]
    [I][SIZE=12px] there is a repport with my problem?[/SIZE][/I]

    [SIZE=12px][I]______________________________________________________________________________[/I][/SIZE]
    [SIZE=12px][I][Date] [/I][/SIZE]
    [SIZE=12px][I]; Defines the default timezone used by the date functions [/I][/SIZE]
    [SIZE=12px][I]; [url]http://php.net/date.timezone[/url] [/I][/SIZE]

    [SIZE=12px][I]date.timezone=Europe/Paris [/I][/SIZE]
    [SIZE=12px]______________________________________________________________________________[/SIZE]


  • Developer

    Are you sure you restarted apache2 after the change?

    And you altered your time zone to be our actual time zone not just <YOUR TIMEZONE NAME> right?

    Here are the time zones you can use:
    [url]https://php.net/manual/en/timezones.php[/url]



  • [quote=“Wolfbane8653, post: 25107, member: 3362”]This will sync the system time to the BIOS or hardware clock which is usually updated by your network.
    [CODE]
    sudo hwclock --utc --systohc
    [/CODE]

    If this does not work you can always set the time by using date and the current time you want.
    [CODE]# sudo date -s “8 Apr 2014 14:29:10”[/CODE][/quote]

    I’m test but no change was apported
    [quote=“Tom Elliott, post: 25108, member: 7271”]You may not need to do all that though either.

    Check your /etc/php.ini file.

    Make sure to set the date.timezone(’<YOUR TIMEZONE NAME>’);

    Then save and restart apache2/httpd services.[/quote]

    and this help no again.


  • Senior Developer

    You may not need to do all that though either.

    Check your /etc/php.ini file.

    Make sure to set the date.timezone(’<YOUR TIMEZONE NAME>’);

    Then save and restart apache2/httpd services.


  • Developer

    This will sync the system time to the BIOS or hardware clock which is usually updated by your network.
    [CODE]
    sudo hwclock --utc --systohc
    [/CODE]

    If this does not work you can always set the time by using date and the current time you want.
    [CODE]# sudo date -s “8 Apr 2014 14:29:10”[/CODE]


Log in to reply
 

448
Online

38995
Users

10715
Topics

101715
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.