MCPcopy Create free account
hub / github.com/aws/aws-cli / get_tzinfo_options

Function get_tzinfo_options

awscli/botocore/compat.py:280–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278
279
280def get_tzinfo_options():
281 # Due to dateutil/dateutil#197, Windows may fail to parse times in the past
282 # with the system clock. We can alternatively fallback to tzwininfo when
283 # this happens, which will get time info from the Windows registry.
284 if sys.platform == 'win32':
285 from dateutil.tz import tzwinlocal
286
287 return (tzlocal, tzwinlocal)
288 else:
289 return (tzlocal,)
290
291
292########################################################

Callers 2

parse_timestampFunction · 0.90

Calls

no outgoing calls

Tested by 1