code: def set_display_mode(self, mytz, fmt):
          
          my_stamp = dateutil.parser.parse(self.timestamp)
          tz_stamp = my_stamp.astimezone(
              mytz) if my_stamp.tzinfo is not None else my_stamp
          self.display_timestamp = tz_stamp.strftime(fmt)
docs: Set the display mode for self.
  
          :arg mytz:        A pytz.timezone object.
  
          :arg fmt:         A format string for strftime.
  
          ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
  
          PURPOSE:        Modifies self.display_timestamp to first parse
                          self.timestamp and then format according to given
                          timezone and format string.