def _get_timezone_name(timezone):
 try:
  return timezone.zone
 except AttributeError:
  return timezone.tzname(None)

def _get_timezone_name ( timezone ) : try : return timezone . zone except AttributeError : return timezone . tzname ( None )
returns the name of timezone .