|
|||||||
| osTicket 1.6 Stable | ||||
|---|---|---|---|---|
| 'Time Submitted' is off by 4 hours | ||||
Category Unknown |
Affected Version 1.6 Stable |
Priority 1 - Highest |
||
Status Unconfirmed |
Fixed Version (none) |
|||
Submitted 07-23-2010 |
||||
|
||||
|
|
|
|
|
|
osTicket 1.6 Stable
'Time Submitted' is off by 4 hours
No matter what modifications I make to the timezone in the admin panel my ticket submitted time is 4 hours prior to when it was actually submitted. I have verified time on my server and in the php.ini file. I am at a complete loss as there is nothing in the forum about this topic.
|
|
|
||
|
||
|
I have exactly the same issue.
Is somebody have a clue on that ? Thank you all. |
|
|
||
|
||
|
I fixed my problem by editing the timezone in PHP.INI using the WAMPSERVER application with the exact timezone where my server is running :
[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = America/Montreal After I restarted all the services and my problem was resolved. I simply dont know why it didn't work by editing directly the PHP.INI using notepad. Also, I removed the possibility to change the timezone in all the users preferences in \include\staff\mypref.inc.php by commenting these lines (starting around line 28) : <!-- \\\\\\\\\\ TIMEZONE DISABLED BY GROUPEGT - BEGIN /////////// <tr> <td nowrap>Preferred Timezone:</td> <td> <select name="timezone_offset"> <? $gmoffset = date("Z") / 3600; //Server's offset. $currentoffset = ($rep['timezone_offset']==NULL)?$cfg->getTZOffset():$rep['timezone_offset']; echo"<option value=\"$gmoffset\">Server Time (GMT $gmoffset:00)</option>"; //Default if all fails. $timezones= db_query('SELECT offset,timezone FROM '.TIMEZONE_TABLE); while (list($offset,$tz) = db_fetch_row($timezones)){ $selected = ($currentoffset==$offset) ?'SELECTED':''; $tag=($offset)?"GMT $offset ($tz)":" GMT ($tz)"; ?> <option value="<?=$offset?>"<?=$selected?>><?=$tag?></option> <?}?> </select> </td> </tr> <tr> <td>Daylight Savings:</td> <td> <input type="checkbox" name="daylight_saving" <?=$rep['daylight_saving'] ? 'checked': ''?>>Observe daylight saving </td> </tr> \\\\\\\\\\ TIMEZONE DISABLED BY GROUPEGT - END /////////// --> Hope that this help. Gilles. |
![]() |
| Issue Tools |
|---|
Subscribe to this issue |