function _ical_tz in Event 5
Same name and namespace in other branches
- 5.2 ical.inc \_ical_tz()
2 calls to _ical_tz()
- ical_import in ./
ical.inc - Given the location of a valide iCalendar file, will return an array of event information
- _ical_chooseOffset in ./
ical.inc
File
- ./
ical.inc, line 311 - API for event import/export in iCalendar format as outlined in Internet Calendaring and Scheduling Core Object Specification http://www.ietf.org/rfc/rfc2445.txt
Code
function _ical_tz($tz) {
include_once drupal_get_path('module', 'event') . '/event_timezones.inc';
foreach (event_get_timezones() as $delta => $zone) {
if ($tz == $zone['timezone']) {
}
return (object) $zone;
}
}