def get_localzone():
 global _cache_tz
 if (_cache_tz is None):
  _cache_tz = pytz.timezone(get_localzone_name())
 return _cache_tz

def get_localzone ( ) : global _cache_tz if ( _cache_tz is None ) : _cache_tz = pytz . timezone ( get_localzone_name ( ) ) return _cache_tz
returns the current underlying local timezone object .