calendar/inc/class.calendar_ical.inc.php 1 location
|
@@ 310-313 (lines=4) @@
|
| 307 |
|
$tzid = $event['tzid']; |
| 308 |
|
} |
| 309 |
|
|
| 310 |
|
if (!isset(self::$tz_cache[$event['tzid']])) |
| 311 |
|
{ |
| 312 |
|
self::$tz_cache[$event['tzid']] = calendar_timezones::DateTimeZone($event['tzid']); |
| 313 |
|
} |
| 314 |
|
|
| 315 |
|
if ($this->so->isWholeDay($event)) $event['whole_day'] = true; |
| 316 |
|
|
calendar/inc/class.calendar_so.inc.php 1 location
|
@@ 2924-2927 (lines=4) @@
|
| 2921 |
|
} |
| 2922 |
|
else |
| 2923 |
|
{ |
| 2924 |
|
if (!isset(self::$tz_cache[$event['tzid']])) |
| 2925 |
|
{ |
| 2926 |
|
self::$tz_cache[$event['tzid']] = calendar_timezones::DateTimeZone($event['tzid']); |
| 2927 |
|
} |
| 2928 |
|
$timezone = self::$tz_cache[$event['tzid']]; |
| 2929 |
|
} |
| 2930 |
|
$start_time = new Api\DateTime($event['start'],Api\DateTime::$server_timezone); |
calendar/inc/class.calendar_boupdate.inc.php 2 locations
|
@@ 2308-2311 (lines=4) @@
|
| 2305 |
|
{ |
| 2306 |
|
$egwEvent['tzid'] = Api\DateTime::$server_timezone->getName(); |
| 2307 |
|
} |
| 2308 |
|
if (!isset(self::$tz_cache[$egwEvent['tzid']])) |
| 2309 |
|
{ |
| 2310 |
|
self::$tz_cache[$egwEvent['tzid']] = calendar_timezones::DateTimeZone($egwEvent['tzid']); |
| 2311 |
|
} |
| 2312 |
|
if (!$event['tzid']) |
| 2313 |
|
{ |
| 2314 |
|
$event['tzid'] = Api\DateTime::$server_timezone->getName(); |
|
@@ 2316-2319 (lines=4) @@
|
| 2313 |
|
{ |
| 2314 |
|
$event['tzid'] = Api\DateTime::$server_timezone->getName(); |
| 2315 |
|
} |
| 2316 |
|
if (!isset(self::$tz_cache[$event['tzid']])) |
| 2317 |
|
{ |
| 2318 |
|
self::$tz_cache[$event['tzid']] = calendar_timezones::DateTimeZone($event['tzid']); |
| 2319 |
|
} |
| 2320 |
|
|
| 2321 |
|
if (!empty($event['uid'])) |
| 2322 |
|
{ |
calendar/inc/class.calendar_rrule.inc.php 1 location
|
@@ 793-796 (lines=4) @@
|
| 790 |
|
empty($event['tzid']) || empty($to_tz) || |
| 791 |
|
$event['tzid'] == $to_tz) return; |
| 792 |
|
|
| 793 |
|
if (!isset(self::$tz_cache[$event['tzid']])) |
| 794 |
|
{ |
| 795 |
|
self::$tz_cache[$event['tzid']] = calendar_timezones::DateTimeZone($event['tzid']); |
| 796 |
|
} |
| 797 |
|
if (!isset(self::$tz_cache[$to_tz])) |
| 798 |
|
{ |
| 799 |
|
self::$tz_cache[$to_tz] = calendar_timezones::DateTimeZone($to_tz); |