MCPcopy Create free account
hub / github.com/StackStorm/st2 / add_utc_tz

Function add_utc_tz

st2client/st2client/utils/date.py:26–27  ·  view source on GitHub ↗
(dt)

Source from the content-addressed store, hash-verified

24
25
26def add_utc_tz(dt):
27 return dt.replace(tzinfo=dateutil.tz.tzutc())
28
29
30def parse(value):

Callers 2

test_format_dtMethod · 0.90
parseFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_format_dtMethod · 0.72