You are here

function _ical_tz in Event 5.2

Same name and namespace in other branches
  1. 5 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_choose_offset in ./ical.inc

File

./ical.inc, line 306
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) {
  foreach (event_get_timezones() as $delta => $zone) {
    if ($tz == $zone['timezone']) {
    }
    return (object) $zone;
  }
}