Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Android/Rails Time Zone Mapping
{
"International Date Line West":{
"offset":-39600,
"abbreviation":"SST",
"name":"Pacific/Midway"
},
"Midway Island":{
"offset":-39600,
"abbreviation":"SST",
"name":"Pacific/Midway"
},
"American Samoa":{
"offset":-39600,
"abbreviation":"SST",
"name":"Pacific/Pago_Pago"
},
"Hawaii":{
"offset":-36000,
"abbreviation":"HST",
"name":"Pacific/Honolulu"
},
"Alaska":{
"offset":-32400,
"abbreviation":"AKDT",
"name":"America/Juneau"
},
"Pacific Time (US \u0026 Canada)":{
"offset":-28800,
"abbreviation":"PDT",
"name":"America/Los_Angeles"
},
"Tijuana":{
"offset":-28800,
"abbreviation":"PDT",
"name":"America/Tijuana"
},
"Mountain Time (US \u0026 Canada)":{
"offset":-25200,
"abbreviation":"MDT",
"name":"America/Denver"
},
"Arizona":{
"offset":-25200,
"abbreviation":"MST",
"name":"America/Phoenix"
},
"Chihuahua":{
"offset":-25200,
"abbreviation":"MDT",
"name":"America/Chihuahua"
},
"Mazatlan":{
"offset":-25200,
"abbreviation":"MDT",
"name":"America/Mazatlan"
},
"Central Time (US \u0026 Canada)":{
"offset":-21600,
"abbreviation":"CDT",
"name":"America/Chicago"
},
"Saskatchewan":{
"offset":-21600,
"abbreviation":"CST",
"name":"America/Regina"
},
"Guadalajara":{
"offset":-21600,
"abbreviation":"CDT",
"name":"America/Mexico_City"
},
"Mexico City":{
"offset":-21600,
"abbreviation":"CDT",
"name":"America/Mexico_City"
},
"Monterrey":{
"offset":-21600,
"abbreviation":"CDT",
"name":"America/Monterrey"
},
"Central America":{
"offset":-21600,
"abbreviation":"CST",
"name":"America/Guatemala"
},
"Eastern Time (US \u0026 Canada)":{
"offset":-18000,
"abbreviation":"EDT",
"name":"America/New_York"
},
"Indiana (East)":{
"offset":-18000,
"abbreviation":"EDT",
"name":"America/Indiana/Indianapolis"
},
"Bogota":{
"offset":-18000,
"abbreviation":"COT",
"name":"America/Bogota"
},
"Lima":{
"offset":-18000,
"abbreviation":"PET",
"name":"America/Lima"
},
"Quito":{
"offset":-18000,
"abbreviation":"PET",
"name":"America/Lima"
},
"Atlantic Time (Canada)":{
"offset":-14400,
"abbreviation":"ADT",
"name":"America/Halifax"
},
"Caracas":{
"offset":-16200,
"abbreviation":"VET",
"name":"America/Caracas"
},
"La Paz":{
"offset":-14400,
"abbreviation":"BOT",
"name":"America/La_Paz"
},
"Santiago":{
"offset":-14400,
"abbreviation":"CLST",
"name":"America/Santiago"
},
"Newfoundland":{
"offset":-12600,
"abbreviation":"NDT",
"name":"America/St_Johns"
},
"Brasilia":{
"offset":-10800,
"abbreviation":"BRT",
"name":"America/Sao_Paulo"
},
"Buenos Aires":{
"offset":-10800,
"abbreviation":"ART",
"name":"America/Argentina/Buenos_Aires"
},
"Montevideo":{
"offset":-10800,
"abbreviation":"UYT",
"name":"America/Montevideo"
},
"Georgetown":{
"offset":-14400,
"abbreviation":"GYT",
"name":"America/Guyana"
},
"Greenland":{
"offset":-10800,
"abbreviation":"WGST",
"name":"America/Godthab"
},
"Mid-Atlantic":{
"offset":-7200,
"abbreviation":"GST",
"name":"Atlantic/South_Georgia"
},
"Azores":{
"offset":-3600,
"abbreviation":"AZOST",
"name":"Atlantic/Azores"
},
"Cape Verde Is.":{
"offset":-3600,
"abbreviation":"CVT",
"name":"Atlantic/Cape_Verde"
},
"Dublin":{
"offset":0,
"abbreviation":"IST",
"name":"Europe/Dublin"
},
"Edinburgh":{
"offset":0,
"abbreviation":"BST",
"name":"Europe/London"
},
"Lisbon":{
"offset":0,
"abbreviation":"WEST",
"name":"Europe/Lisbon"
},
"London":{
"offset":0,
"abbreviation":"BST",
"name":"Europe/London"
},
"Casablanca":{
"offset":0,
"abbreviation":"WEST",
"name":"Africa/Casablanca"
},
"Monrovia":{
"offset":0,
"abbreviation":"GMT",
"name":"Africa/Monrovia"
},
"UTC":{
"offset":0,
"abbreviation":"UTC",
"name":"Etc/UTC"
},
"Belgrade":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Belgrade"
},
"Bratislava":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Bratislava"
},
"Budapest":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Budapest"
},
"Ljubljana":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Ljubljana"
},
"Prague":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Prague"
},
"Sarajevo":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Sarajevo"
},
"Skopje":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Skopje"
},
"Warsaw":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Warsaw"
},
"Zagreb":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Zagreb"
},
"Brussels":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Brussels"
},
"Copenhagen":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Copenhagen"
},
"Madrid":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Madrid"
},
"Paris":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Paris"
},
"Amsterdam":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Amsterdam"
},
"Berlin":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Berlin"
},
"Bern":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Berlin"
},
"Rome":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Rome"
},
"Stockholm":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Stockholm"
},
"Vienna":{
"offset":3600,
"abbreviation":"CEST",
"name":"Europe/Vienna"
},
"West Central Africa":{
"offset":3600,
"abbreviation":"CET",
"name":"Africa/Algiers"
},
"Bucharest":{
"offset":7200,
"abbreviation":"EEST",
"name":"Europe/Bucharest"
},
"Cairo":{
"offset":7200,
"abbreviation":"EET",
"name":"Africa/Cairo"
},
"Helsinki":{
"offset":7200,
"abbreviation":"EEST",
"name":"Europe/Helsinki"
},
"Kyiv":{
"offset":7200,
"abbreviation":"EEST",
"name":"Europe/Kiev"
},
"Riga":{
"offset":7200,
"abbreviation":"EEST",
"name":"Europe/Riga"
},
"Sofia":{
"offset":7200,
"abbreviation":"EEST",
"name":"Europe/Sofia"
},
"Tallinn":{
"offset":7200,
"abbreviation":"EEST",
"name":"Europe/Tallinn"
},
"Vilnius":{
"offset":7200,
"abbreviation":"EEST",
"name":"Europe/Vilnius"
},
"Athens":{
"offset":7200,
"abbreviation":"EEST",
"name":"Europe/Athens"
},
"Istanbul":{
"offset":7200,
"abbreviation":"EEST",
"name":"Europe/Istanbul"
},
"Minsk":{
"offset":10800,
"abbreviation":"FET",
"name":"Europe/Minsk"
},
"Jerusalem":{
"offset":7200,
"abbreviation":"IDT",
"name":"Asia/Jerusalem"
},
"Harare":{
"offset":7200,
"abbreviation":"CAT",
"name":"Africa/Harare"
},
"Pretoria":{
"offset":7200,
"abbreviation":"SAST",
"name":"Africa/Johannesburg"
},
"Moscow":{
"offset":14400,
"abbreviation":"MSK",
"name":"Europe/Moscow"
},
"St. Petersburg":{
"offset":14400,
"abbreviation":"MSK",
"name":"Europe/Moscow"
},
"Volgograd":{
"offset":14400,
"abbreviation":"MSK",
"name":"Europe/Moscow"
},
"Kuwait":{
"offset":10800,
"abbreviation":"AST",
"name":"Asia/Kuwait"
},
"Riyadh":{
"offset":10800,
"abbreviation":"AST",
"name":"Asia/Riyadh"
},
"Nairobi":{
"offset":10800,
"abbreviation":"EAT",
"name":"Africa/Nairobi"
},
"Baghdad":{
"offset":10800,
"abbreviation":"AST",
"name":"Asia/Baghdad"
},
"Tehran":{
"offset":12600,
"abbreviation":"IRST",
"name":"Asia/Tehran"
},
"Abu Dhabi":{
"offset":14400,
"abbreviation":"GST",
"name":"Asia/Muscat"
},
"Muscat":{
"offset":14400,
"abbreviation":"GST",
"name":"Asia/Muscat"
},
"Baku":{
"offset":14400,
"abbreviation":"AZST",
"name":"Asia/Baku"
},
"Tbilisi":{
"offset":14400,
"abbreviation":"GET",
"name":"Asia/Tbilisi"
},
"Yerevan":{
"offset":14400,
"abbreviation":"AMT",
"name":"Asia/Yerevan"
},
"Kabul":{
"offset":16200,
"abbreviation":"AFT",
"name":"Asia/Kabul"
},
"Ekaterinburg":{
"offset":21600,
"abbreviation":"YEKT",
"name":"Asia/Yekaterinburg"
},
"Islamabad":{
"offset":18000,
"abbreviation":"PKT",
"name":"Asia/Karachi"
},
"Karachi":{
"offset":18000,
"abbreviation":"PKT",
"name":"Asia/Karachi"
},
"Tashkent":{
"offset":18000,
"abbreviation":"UZT",
"name":"Asia/Tashkent"
},
"Chennai":{
"offset":19800,
"abbreviation":"IST",
"name":"Asia/Kolkata"
},
"Kolkata":{
"offset":19800,
"abbreviation":"IST",
"name":"Asia/Kolkata"
},
"Mumbai":{
"offset":19800,
"abbreviation":"IST",
"name":"Asia/Kolkata"
},
"New Delhi":{
"offset":19800,
"abbreviation":"IST",
"name":"Asia/Kolkata"
},
"Kathmandu":{
"offset":20700,
"abbreviation":"NPT",
"name":"Asia/Kathmandu"
},
"Astana":{
"offset":21600,
"abbreviation":"BDT",
"name":"Asia/Dhaka"
},
"Dhaka":{
"offset":21600,
"abbreviation":"BDT",
"name":"Asia/Dhaka"
},
"Sri Jayawardenepura":{
"offset":19800,
"abbreviation":"IST",
"name":"Asia/Colombo"
},
"Almaty":{
"offset":21600,
"abbreviation":"ALMT",
"name":"Asia/Almaty"
},
"Novosibirsk":{
"offset":25200,
"abbreviation":"NOVT",
"name":"Asia/Novosibirsk"
},
"Rangoon":{
"offset":23400,
"abbreviation":"MMT",
"name":"Asia/Rangoon"
},
"Bangkok":{
"offset":25200,
"abbreviation":"ICT",
"name":"Asia/Bangkok"
},
"Hanoi":{
"offset":25200,
"abbreviation":"ICT",
"name":"Asia/Bangkok"
},
"Jakarta":{
"offset":25200,
"abbreviation":"WIB",
"name":"Asia/Jakarta"
},
"Krasnoyarsk":{
"offset":28800,
"abbreviation":"KRAT",
"name":"Asia/Krasnoyarsk"
},
"Beijing":{
"offset":28800,
"abbreviation":"CST",
"name":"Asia/Shanghai"
},
"Chongqing":{
"offset":28800,
"abbreviation":"CST",
"name":"Asia/Chongqing"
},
"Hong Kong":{
"offset":28800,
"abbreviation":"HKT",
"name":"Asia/Hong_Kong"
},
"Urumqi":{
"offset":28800,
"abbreviation":"CST",
"name":"Asia/Urumqi"
},
"Kuala Lumpur":{
"offset":28800,
"abbreviation":"MYT",
"name":"Asia/Kuala_Lumpur"
},
"Singapore":{
"offset":28800,
"abbreviation":"SGT",
"name":"Asia/Singapore"
},
"Taipei":{
"offset":28800,
"abbreviation":"CST",
"name":"Asia/Taipei"
},
"Perth":{
"offset":28800,
"abbreviation":"WST",
"name":"Australia/Perth"
},
"Irkutsk":{
"offset":32400,
"abbreviation":"IRKT",
"name":"Asia/Irkutsk"
},
"Ulaanbaatar":{
"offset":28800,
"abbreviation":"ULAT",
"name":"Asia/Ulaanbaatar"
},
"Seoul":{
"offset":32400,
"abbreviation":"KST",
"name":"Asia/Seoul"
},
"Osaka":{
"offset":32400,
"abbreviation":"JST",
"name":"Asia/Tokyo"
},
"Sapporo":{
"offset":32400,
"abbreviation":"JST",
"name":"Asia/Tokyo"
},
"Tokyo":{
"offset":32400,
"abbreviation":"JST",
"name":"Asia/Tokyo"
},
"Yakutsk":{
"offset":36000,
"abbreviation":"YAKT",
"name":"Asia/Yakutsk"
},
"Darwin":{
"offset":34200,
"abbreviation":"CST",
"name":"Australia/Darwin"
},
"Adelaide":{
"offset":34200,
"abbreviation":"CST",
"name":"Australia/Adelaide"
},
"Canberra":{
"offset":36000,
"abbreviation":"EST",
"name":"Australia/Melbourne"
},
"Melbourne":{
"offset":36000,
"abbreviation":"EST",
"name":"Australia/Melbourne"
},
"Sydney":{
"offset":36000,
"abbreviation":"EST",
"name":"Australia/Sydney"
},
"Brisbane":{
"offset":36000,
"abbreviation":"EST",
"name":"Australia/Brisbane"
},
"Hobart":{
"offset":36000,
"abbreviation":"EST",
"name":"Australia/Hobart"
},
"Vladivostok":{
"offset":39600,
"abbreviation":"VLAT",
"name":"Asia/Vladivostok"
},
"Guam":{
"offset":36000,
"abbreviation":"ChST",
"name":"Pacific/Guam"
},
"Port Moresby":{
"offset":36000,
"abbreviation":"PGT",
"name":"Pacific/Port_Moresby"
},
"Magadan":{
"offset":43200,
"abbreviation":"MAGT",
"name":"Asia/Magadan"
},
"Solomon Is.":{
"offset":39600,
"abbreviation":"SBT",
"name":"Pacific/Guadalcanal"
},
"New Caledonia":{
"offset":39600,
"abbreviation":"NCT",
"name":"Pacific/Noumea"
},
"Fiji":{
"offset":43200,
"abbreviation":"FJT",
"name":"Pacific/Fiji"
},
"Kamchatka":{
"offset":43200,
"abbreviation":"PETT",
"name":"Asia/Kamchatka"
},
"Marshall Is.":{
"offset":43200,
"abbreviation":"MHT",
"name":"Pacific/Majuro"
},
"Auckland":{
"offset":43200,
"abbreviation":"NZDT",
"name":"Pacific/Auckland"
},
"Wellington":{
"offset":43200,
"abbreviation":"NZDT",
"name":"Pacific/Auckland"
},
"Nuku'alofa":{
"offset":46800,
"abbreviation":"TOT",
"name":"Pacific/Tongatapu"
},
"Tokelau Is.":{
"offset":46800,
"abbreviation":"TKT",
"name":"Pacific/Fakaofo"
},
"Chatham Is.":{
"offset":45900,
"abbreviation":"CHADT",
"name":"Pacific/Chatham"
},
"Samoa":{
"offset":46800,
"abbreviation":"WSDT",
"name":"Pacific/Apia"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment