Page 2 of 2

Re: Timezone issues

Posted: 24 Nov 2016, 11:53
by RussH
Hi,

just did some brief checking on this;

There was a change in PHP which required the php timezone to be set. if you have access to your server's php.ini, please can you check if this corrects the issue.
Code: Select all
You probably need to put the timezone in a configuration line in your php.ini file. You should have a block like this in your php.ini file:

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York
where the available timezones are listed here;
http://php.net/manual/en/timezones.indian.php

Afterwards, please stop and restart your apache server. After this, your php timezone should be 'localised'.. If this fixes your issue, we can look to incorporate it into the opencats code.

Re: Timezone issues

Posted: 08 Dec 2016, 14:28
by kedar
Hi,

I tried doing this. Dosent seem to work. Very frustrating.

Regards
Kedar

Re: Timezone issues

Posted: 08 Dec 2016, 17:13
by RussH
Hi,

unfortunately this appears to be an underlying issue with the method the original developers used to store timezone, and cannot simply be fixed/enabled. This issue (cannot support fractional GMT offsets) will have to wait until the datetime storage is entirely refactored in the opencats code. It's logged as an open issue in github, anyone can contribute a proposed fix against it but initial analysis suggests it's not a simple piece of work.