code: def _to_utc(self, dt):
          
          tz = self._get_tz()
          loc_dt = tz.localize(dt)
          return loc_dt.astimezone(pytz.utc)
docs: Takes a naive timezone with an localized value and return it formatted
          as utc.