MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / _unmunge_zone

Function _unmunge_zone

tests/test_code/py/pytz/__init__.py:193–195  ·  view source on GitHub ↗

Undo the time zone name munging done by older versions of pytz.

(zone)

Source from the content-addressed store, hash-verified

191
192
193def _unmunge_zone(zone):
194 """Undo the time zone name munging done by older versions of pytz."""
195 return zone.replace('_plus_', '+').replace('_minus_', '-')
196
197
198_all_timezones_lower_to_standard = None

Callers 1

timezoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected