MCPcopy Create free account
hub / github.com/apache/storm / git_time

Function git_time

dev-tools/github/__init__.py:27–30  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

25
26
27def git_time(obj):
28 if obj is None:
29 return None
30 return datetime.strptime(obj[0:19], "%Y-%m-%dT%H:%M:%S")
31
32
33class GitPullRequest:

Callers 3

created_atMethod · 0.85
updated_atMethod · 0.85
merged_atMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected