code: def set_time_zone(self, item):
          
          # parse i3status date
          i3s_time = item["full_text"].encode("UTF-8", "replace")
          try:
              # python3 compatibility code
              i3s_time = i3s_time.decode()
          except:  # noqa e722
              pass
  
          # get datetime and time zone info
          parts = i3s_time.split()
          i3s_datetime = " ".join(parts[:2])
          # occassionally we do not get the timezone name
          if len(parts) < 3:
              return True
          else:
              i3s_time_tz = parts[2]
  
          date = datetime.strptime(i3s_datetime, TIME_FORMAT)
          # calculate the time delta
          utcnow = datetime.utcnow()
          delta = datetime(
              date.year, date.month, date.day, date.hour, date.minute
          ) - datetime(utcnow.year, utcnow.month, utcnow.day, utcnow.hour, utcnow.minute)
          # create our custom timezone
          try:
              self.tz = Tz(i3s_time_tz, delta)
          except ValueError:
              return False
          return True
docs: Work out the time zone and create a shim tzinfo.
  
          We return True if all is good or False if there was an issue and we
          need to re check the time zone.  see issue #1375