function event_zonelist in Event 5
Same name and namespace in other branches
- 5.2 event.module \event_zonelist()
2 calls to event_zonelist()
- event_form_alter in ./
event.module - theme_event_nodeapi in ./
event.theme - Format an date value for a nodeapi insert
File
- ./
event_timezones.inc, line 218
Code
function event_zonelist() {
static $zones;
if (!is_array($zones)) {
$tz_array = event_get_timezones();
$zones = array();
foreach ($tz_array as $key => $zone) {
$zones[$key] = $zone['timezone'];
}
}
return $zones;
}