title: Rails time zone from offset and dst
body: <p>I am looking for some help in how I can store the correct timezone in Rails, from data that provides me with a UTC offset, and DST.</p>
  
  <p>The data comes from <a href="http://openflights.org/data.html" rel="nofollow">http://openflights.org/data.html</a></p>
  
  <p><strong>Timezone</strong>    Hours offset from UTC. Fractional hours are expressed as decimals, eg. India is 5.5.</p>
  
  <p><strong>DST</strong> Daylight savings time. One of E (Europe), A (US/Canada), S (South America), O (Australia), Z (New Zealand), N (None) or U (Unknown).</p>
  
  <p>I am wondering how I could use this data in Rails to store the timezone of these airports as a string in a Timezone column that Rails would recognise.</p>