Skip to content

Instantly share code, notes, and snippets.

@jwoertink
Last active November 14, 2015 01:00
Show Gist options
  • Save jwoertink/2397529c60c552013778 to your computer and use it in GitHub Desktop.
Save jwoertink/2397529c60c552013778 to your computer and use it in GitHub Desktop.
module TimeZone
DAYLIGHT = [
{name: 'Dateline Daylight Time', offset: -12, alt: 'International Date Line West'},
{name: 'UTC-11', offset: -11, alt: 'International Date Line West'},
{name: 'Hawaiian Daylight Time', offset: -10, alt: 'Hawaii'},
{name: 'Alaskan Daylight Time', offset: -9, alt: 'Alaska'},
{name: 'Pacific Daylight Time', offset: -8, alt: 'Pacific Time (US & Canada)'},
{name: 'US Mountain Daylight Time', offset: -7, alt: 'Mountain Time (US & Canada)'},
{name: 'Mountain Daylight Time', offset: -7, alt: 'Mountain Time (US & Canada)'},
{name: 'Central America Daylight Time', offset: -6, alt: 'Central Time (US & Canada)'},
{name: 'Central Daylight Time', offset: -6, alt: 'Central Time (US & Canada)'},
{name: 'Canada Central Daylight Time', offset: -6, alt: 'Saskatchewan'},
{name: 'SA Pacific Daylight Time', offset: -5, alt: 'Bogota'},
{name: 'Eastern Daylight Time', offset: -5, alt: 'Eastern Time (US & Canada)'},
{name: 'US Eastern Daylight Time', offset: -5, alt: 'Eastern Time (US & Canada)'},
{name: 'Venezuela Daylight Time', offset: -4.5, alt: 'Caracas'},
{name: 'Atlantic Daylight Time', offset: -4, alt: 'Atlantic Time (Canada)'},
{name: 'SA Western Daylight Time', offset: -4, alt: 'Georgetown'},
{name: 'Pacific SA Daylight Time', offset: -4, alt: 'Santiago'},
{name: 'Newfoundland Daylight Time', offset: -3.5, alt: 'Newfoundland'},
{name: 'E. South America Daylight Time', offset: -3, alt: 'Brasilia'},
{name: 'Argentina Daylight Time', offset: -3, alt: 'Buenos Aires'},
{name: 'Greenland Daylight Time', offset: -3, alt: 'Greenland'},
{name: 'Montevideo Daylight Time', offset: -3, alt: 'Montevideo'},
{name: 'UTC-02', offset: -2, alt: 'Mid-Atlantic'},
{name: 'Mid-Atlantic Daylight Time', offset: -2, alt: 'Mid-Atlantic'},
{name: 'Azores Daylight Time', offset: -1, alt: 'Azores'},
{name: 'Morocco Daylight Time', offset: 0, alt: 'Casablanca'},
{name: 'GMT Daylight Time', offset: 0, alt: 'Dublin'},
{name: 'UTC', offset: 0, alt: 'UTC'},
{name: 'Greenwich Daylight Time', offset: 0, alt: 'Monrovia'},
{name: 'W. Europe Daylight Time', offset: 1, alt: 'Amsterdam'},
{name: 'Central Europe Daylight Time', offset: 1, alt: 'Belgrade'},
{name: 'Romance Daylight Time', offset: 1, alt: 'Brussels'},
{name: 'Central European Daylight Time', offset: 1, alt: 'Sarajevo'},
{name: 'W. Central Africa Daylight Time', offset: 1, alt: 'West Central Africa'},
{name: 'GTB Daylight Time', offset: 2, alt: 'Athens'},
{name: 'Egypt Daylight Time', offset: 2, alt: 'Cairo'},
{name: 'South Africa Daylight Time', offset: 2, alt: 'Pretoria'},
{name: 'FLE Daylight Time', offset: 2, alt: 'Helsinki'},
{name: 'Turkey Daylight Time', offset: 2, alt: 'Istanbul'},
{name: 'Jerusalem Daylight Time', offset: 2, alt: 'Jerusalem'},
{name: 'Arabic Daylight Time', offset: 3, alt: 'Baghdad'},
{name: 'Arab Daylight Time', offset: 3, alt: 'Kuwait'},
{name: 'Belarus Daylight Time', offset: 3, alt: 'Minsk'},
{name: 'E. Africa Daylight Time', offset: 3, alt: 'Nairobi'},
{name: 'Iran Daylight Time', offset: 3.5, alt: 'Tehran'},
{name: 'Arabian Daylight Time', offset: 4, alt: 'Abu Dhabi'},
{name: 'Azerbaijan Daylight Time', offset: 4, alt: 'Baku'},
{name: 'Russia TZ 3 Daylight Time', offset: 4, alt: 'Samara'},
{name: 'Georgian Daylight Time', offset: 4, alt: 'Tbilisi'},
{name: 'Caucasus Daylight Time', offset: 4, alt: 'Yerevan'},
{name: 'Afghanistan Daylight Time', offset: 4.5, alt: 'Kabul'},
{name: 'West Asia Daylight Time', offset: 5, alt: 'Tashkent'},
{name: 'Pakistan Daylight Time', offset: 5, alt: 'Islamabad'},
{name: 'India Daylight Time', offset: 5.5, alt: 'New Delhi'},
{name: 'Sri Lanka Daylight Time', offset: 5.5, alt: 'Sri Jayawardenepura'},
{name: 'Nepal Daylight Time', offset: 5.75, alt: 'Kathmandu'},
{name: 'Central Asia Daylight Time', offset: 6, alt: 'Almaty'},
{name: 'Bangladesh Daylight Time', offset: 6, alt: 'Astana'},
{name: 'Myanmar Daylight Time', offset: 6.5, alt: 'Rangoon'},
{name: 'SE Asia Daylight Time', offset: 7, alt: 'Bangkok'},
{name: 'China Daylight Time', offset: 8, alt: 'Chongqing'},
{name: 'W. Australia Daylight Time', offset: 8, alt: 'Perth'},
{name: 'Taipei Daylight Time', offset: 8, alt: 'Taipei'},
{name: 'Ulaanbaatar Daylight Time', offset: 8, alt: 'Ulaanbaatar'},
{name: 'Tokyo Daylight Time', offset: 9, alt: 'Tokyo'},
{name: 'Korea Daylight Time', offset: 9, alt: 'Seoul'},
{name: 'Cen. Australia Daylight Time', offset: 9.5, alt: 'Adelaide'},
{name: 'AUS Central Daylight Time', offset: 9.5, alt: 'Darwin'},
{name: 'E. Australia Daylight Time', offset: 10, alt: 'Brisbane'},
{name: 'AUS Eastern Daylight Time', offset: 10, alt: 'Melbourne'},
{name: 'West Pacific Daylight Time', offset: 10, alt: 'Guam'},
{name: 'Tasmania Daylight Time', offset: 10, alt: 'Hobart'},
{name: 'Magadan Daylight Time', offset: 10, alt: 'Magadan'},
{name: 'Russia TZ 10 Daylight Time', offset: 11, alt: 'Srednekolymsk'},
{name: 'Central Pacific Daylight Time', offset: 11, alt: 'Solomon Is.'},
{name: 'Russia TZ 11 Daylight Time', offset: 12, alt: 'Kamchatka'},
{name: 'New Zealand Daylight Time', offset: 12, alt: 'Auckland'},
{name: 'UTC+12', offset: 12, alt: 'Marshall Is.'},
]
STANDARD = {
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment