[Signs fixed]New timezone management for importer (now working as expected ;) )
Dynamic timezone-change preview =) TODO: - complete timezone mapping list! - check exporter timezone management
This commit is contained in:
@@ -7,8 +7,8 @@ X-WR-CALNAME:Testkalender
|
||||
X-WR-TIMEZONE:America/Detroit
|
||||
X-WR-CALDESC:Nur zum testen vom Google Kalender
|
||||
BEGIN:VEVENT
|
||||
DTSTART;TZID="America/Detroit":20121227T100000
|
||||
DTEND;TZID="America/Detroit":20121227T110000
|
||||
DTSTART:20121227T150000Z
|
||||
DTEND:20121227T160000Z
|
||||
DTSTAMP:20110121T195741Z
|
||||
UID:1koigufm110c5hnq6ln57murd4@google.com
|
||||
CREATED:20110119T142901Z
|
||||
|
@@ -241,7 +241,7 @@ class ICal {
|
||||
$this_tz = new DateTimeZone($tz);
|
||||
$tz_now = new DateTime("now", $this_tz);
|
||||
$tz_offset = $this_tz->getOffset($tz_now);
|
||||
$timestamp_utc = $timestamp + $tz_offset;
|
||||
$timestamp_utc = $timestamp - $tz_offset;
|
||||
} else {
|
||||
$timestamp_utc = $timestamp;
|
||||
}
|
||||
|
Reference in New Issue
Block a user