[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bug #13203] offset calculation for timezones inc
From: |
Dirk Schaller |
Subject: |
[Phpgroupware-tracker] [bug #13203] offset calculation for timezones incorrect in class.boicalendar.inc.php |
Date: |
Sat, 4 Jun 2005 17:02:33 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.5) Gecko/20041217 |
Update of bug #13203 (project phpgroupware):
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
I add a support for both + and - timezones
$f = ($gmt_offset[0] == "-") ? -1 : 1;
$offset = $f * intval(substr($gmt_offset, 1, 2)) * 60 +
intval(substr($gmt_offset, 3, 2));
$event['start']['min'] += $offset;
$event['end']['min'] += $offset;
$event['modtime']['min'] += $offset;
see patch for bug #13202
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13203>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/