[SOLVED] Wrong timezone

Forum for questions and support relating to the 1.27.x releases only.
Post Reply
fmoreira86
Posts: 3
Joined: Tue Mar 25, 2014 10:40 am

[SOLVED] Wrong timezone

Post by fmoreira86 » Tue Mar 25, 2014 10:43 am

Hi! First post here.

Quick question. I've Ubuntu LTS with the correct time settings however zoneminder is 1 hour ahead.

Any hint?
Last edited by fmoreira86 on Tue Mar 25, 2014 3:34 pm, edited 1 time in total.

basketcase
Posts: 31
Joined: Thu Aug 22, 2013 10:04 pm

Re: Wrong time

Post by basketcase » Tue Mar 25, 2014 11:01 am

I've had this before, turned out to be my PHP timezone settings.

Need to modify the timezone property in php.ini wherever your php config files are installed

On a Centos install I find it here: /etc/php.ini
sudo nano /etc/php.ini
eg. find this area and you may have to Google to find your exact locale, modify it, save, restart Apache.

Code: Select all

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
date.timezone = Australia/Brisbane

fmoreira86
Posts: 3
Joined: Tue Mar 25, 2014 10:40 am

Re: Wrong time

Post by fmoreira86 » Tue Mar 25, 2014 3:33 pm

Solved.

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests