# File lib/et-orbi.rb, line 432 def get_x_offset_tzone(str) m = str.match(/\A_..-?[0-1]?\d:?(?:[0-5]\d)?(.+)\z/) rescue nil # # On Windows, the real encoding could be something other than UTF-8, # and make the match fail (as in .get_offset_tzone above) m ? ::TZInfo::Timezone.get(m[1]) : nil end