You are here

function event_get_dst_regions in Event 5

Same name and namespace in other branches
  1. 5.2 event.module \event_get_dst_regions()
2 calls to event_get_dst_regions()
event_dst in ./event.module
Display a page with the timezone and daylight savings time regions.
event_is_dst in ./event_timezones.inc
Check if time is in Daylight Savings Time

File

./event_timezones.inc, line 188

Code

function event_get_dst_regions() {
  static $regions;
  if (!is_array($regions)) {
    $regions = array(
      0 => t('None'),
      1 => t('Egypt'),
      2 => t('Namibia'),
      3 => t('Asia - Former USSR'),
      4 => t('Iraq, Syria'),
      5 => t('Israel'),
      6 => t('Lebanon, Kirgizstan'),
      7 => t('Palestine'),
      8 => t('Iran'),
      9 => t('South Australia'),
      10 => t('Australia, Tasmania'),
      11 => t('New Zealand'),
      12 => t('Tonga'),
      13 => t('EU and other European countries'),
      14 => t('Russian Federation'),
      15 => t('North America'),
      16 => t('Cuba'),
      17 => t('Brazil'),
      18 => t('Chile'),
      19 => t('Falklands'),
      20 => t('Paraguay'),
    );
  }
  return $regions;
}