Created
August 23, 2014 14:16
-
-
Save hussainm/ae477d8273a26088528a to your computer and use it in GitHub Desktop.
timezone by country javascript object. This contains list of countries and their timezone offsets in the form of a js object countries with multiple timezones the average offset is used. csv from: www.theguardian.com/news/datablog/2009/sep/14/time-zones-countries-world-gmt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var timezoneByCountry = { | |
"Afghanistan": 4.5, | |
"Albania": 1, | |
"Algeria": 1, | |
"Andorra": 1, | |
"Angola": 1, | |
"Antigua and Barbuda": -4, | |
"Argentina": -3, | |
"Armenia": 4, | |
"Australia": 8, | |
"Austria": 1, | |
"Azerbaijan": 4, | |
"Bahamas": -5, | |
"Bahrain": 3, | |
"Bangladesh": 6, | |
"Barbados": -4, | |
"Belarus": 2, | |
"Belgium": 1, | |
"Belize": -6, | |
"Benin": 1, | |
"Bhutan": 6, | |
"Bolivia": -4, | |
"Bosnia and Herzegovina": 1, | |
"Botswana": 2, | |
"Brazil": -2, | |
"Brunei": 8, | |
"Bulgaria": 2, | |
"Burkina Faso": 0, | |
"Burundi": 3, | |
"Cambodia": 7, | |
"Cameroon": 1, | |
"Canada": -3.5, | |
"Cape Verde": -1, | |
"Central African Republic": 1, | |
"Chad": 1, | |
"Chile": -4, | |
"China": 8, | |
"Colombia": -5, | |
"Comoros": 3, | |
"Congo (Rebuplic)": 1, | |
"Congo (DRC)": 1, | |
"Costa Rica": -6, | |
"Cote d'Ivoire": 0, | |
"Croatia": 1, | |
"Cuba": -5, | |
"Cyprus": 2, | |
"Czech Republic": 1, | |
"Denmark": 1, | |
"Djibouti": 3, | |
"Dominica": -4, | |
"Dominican Republic": -4, | |
"Ecuador": -5, | |
"Egypt": 2, | |
"El Salvador": -6, | |
"Equatorial Guinea": 1, | |
"Eritrea": 3, | |
"Estonia": 2, | |
"Ethiopia": 3, | |
"Fiji": 12, | |
"Finland": 2, | |
"France": 1, | |
"Gabon": 1, | |
"The Gambia": 0, | |
"Georgia": 4, | |
"Germany": 1, | |
"Ghana": 0, | |
"Greece": 2, | |
"Grenada": -4, | |
"Guatemala": -6, | |
"Guinea": 0, | |
"Guinea-Bissau": 0, | |
"Guyana": -3, | |
"Haiti": -5, | |
"Honduras": -6, | |
"Hungary": 1, | |
"Iceland": 0, | |
"India": 5.5, | |
"Indonesia": 7, | |
"Iran": 3.5, | |
"Iraq": 3, | |
"Ireland": 0, | |
"Palestine": 2, | |
"Israel": 2, | |
"Italy": 1, | |
"Jamaica": -5, | |
"Japan": 9, | |
"Jordan": 2, | |
"Kazakhstan": 4, | |
"Kenya": 3, | |
"Kiribati": 12, | |
"Korea, North": 9, | |
"Korea, South": 9, | |
"Kosovo": 1, | |
"Kuwait": 3, | |
"Kyrgyzstan": 5, | |
"Laos": 7, | |
"Latvia": 2, | |
"Lebanon": 2, | |
"Lesotho": 3, | |
"Liberia": 0, | |
"Libya": 2, | |
"Liechtenstein": 1, | |
"Lithuania": 2, | |
"Luxembourg": 1, | |
"Macedonia": 1, | |
"Madagascar": 3, | |
"Malawi": 2, | |
"Malaysia": 8, | |
"Maldives": 5, | |
"Mali": 0, | |
"Malta": 1, | |
"Marshall Islands": 12, | |
"Mauritania": 0, | |
"Mauritius": 4, | |
"Mexico": -6, | |
"Micronesia": 11, | |
"Moldova": 2, | |
"Monaco": 1, | |
"Mongolia": 8, | |
"Montenegro": 1, | |
"Morocco": 0, | |
"Mozambique": 2, | |
"Myanmar (Burma)": 6.5, | |
"Namibia": 1, | |
"Nauru": 12, | |
"Nepal": 5.75, | |
"Netherlands": 1, | |
"New Zealand": 12, | |
"Nicaragua": -6, | |
"Niger": 1, | |
"Nigeria": 1, | |
"Norway": 1, | |
"Oman": 4, | |
"Pakistan": 5, | |
"Palau": 9, | |
"Panama": -5, | |
"Papua New Guinea": 10, | |
"Paraguay": -4, | |
"Peru": -5, | |
"Philippines": 8, | |
"Poland": 1, | |
"Portugal": 0, | |
"Qatar": 3, | |
"Romania": 2, | |
"Russia": 2, | |
"Rwanda": 2, | |
"Saint Kitts and Nevis": -4, | |
"Saint Lucia": -4, | |
"Saint Vincent and the Grenadines": -4, | |
"Samoa": -11, | |
"San Marino": 1, | |
"Sao Tome and Principe": 0, | |
"Saudi Arabia": 3, | |
"Senegal": 0, | |
"Serbia": 1, | |
"Seychelles": 4, | |
"Sierra Leone": 0, | |
"Singapore": 8, | |
"Slovakia": 1, | |
"Slovenia": 1, | |
"Solomon Islands": 11, | |
"Somalia": 3, | |
"South Africa": 2, | |
"Spain": 1, | |
"Sri Lanka": 5.5, | |
"Sudan": 3, | |
"Suriname": -3, | |
"Swaziland": 2, | |
"Sweden": 1, | |
"Switzerland": 1, | |
"Syria": 2, | |
"Taiwan": 8, | |
"Tajikistan": 5, | |
"Tanzania": 3, | |
"Thailand": 7, | |
"Timor-Leste": 9, | |
"Togo": 0, | |
"Tonga": 13, | |
"Trinidad and Tobago": -4, | |
"Tunisia": 1, | |
"Turkey": 2, | |
"Turkmenistan": 5, | |
"Tuvalu": 12, | |
"Uganda": 3, | |
"Ukraine": 2, | |
"United Arab Emirates": 4, | |
"United Kingdom": 0, | |
"United States of America": -5, | |
"Uruguay": -3, | |
"Uzbekistan": 5, | |
"Vanuatu": 11, | |
"Vatican City": 1, | |
"Venezuela": -4.5, | |
"Vietnam": 7, | |
"Yemen": 3, | |
"Zambia": 2, | |
"Zimbabwe": 2 | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment