Skip to content

Instantly share code, notes, and snippets.

@eupharis
Created November 6, 2017 19:04
Show Gist options
  • Save eupharis/b4de5999f92e156dcb1da9b706ea84d5 to your computer and use it in GitHub Desktop.
Save eupharis/b4de5999f92e156dcb1da9b706ea84d5 to your computer and use it in GitHub Desktop.
STATE_TZ_MAP = {
'AK': 'US/Alaska',
'AL': 'US/Central',
'AR': 'US/Central',
'AS': 'US/Samoa',
'AZ': 'America/Phoenix', # Arizona is weird!
'CA': 'US/Pacific',
'CO': 'US/Mountain',
'CT': 'US/Eastern',
'DC': 'US/Eastern',
'DE': 'US/Eastern',
'FL': 'US/Eastern',
'GA': 'US/Eastern',
'GU': 'Pacific/Guam',
'HI': 'US/Hawaii',
'IA': 'US/Central',
'ID': 'US/Mountain',
'IL': 'US/Central',
'IN': 'US/Eastern',
'KS': 'US/Central',
'KY': 'US/Eastern',
'LA': 'US/Central',
'MA': 'US/Eastern',
'MD': 'US/Eastern',
'ME': 'US/Eastern',
'MI': 'US/Eastern',
'MN': 'US/Central',
'MO': 'US/Central',
'MP': 'Pacific/Guam',
'MS': 'US/Central',
'MT': 'US/Mountain',
'NC': 'US/Eastern',
'ND': 'US/Central',
'NE': 'US/Central',
'NH': 'US/Eastern',
'NJ': 'US/Eastern',
'NM': 'US/Mountain',
'NV': 'US/Pacific',
'NY': 'US/Eastern',
'OH': 'US/Eastern',
'OK': 'US/Central',
'OR': 'US/Pacific',
'PA': 'US/Eastern',
'PR': 'America/Puerto_Rico',
'RI': 'US/Eastern',
'SC': 'US/Eastern',
'SD': 'US/Central',
'TN': 'US/Central',
'TX': 'US/Central',
'UT': 'US/Mountain',
'VA': 'US/Eastern',
'VI': 'America/Virgin',
'VT': 'US/Eastern',
'WA': 'US/Pacific',
'WI': 'US/Central',
'WV': 'US/Eastern',
'WY': 'US/Mountain',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment