MCPcopy Index your code
hub / github.com/saltstack/salt / parse_date

Function parse_date

tests/committer_parser.py:40–42  ·  view source on GitHub ↗
(datestr)

Source from the content-addressed store, hash-verified

38
39
40def parse_date(datestr):
41 d = email.utils.parsedate(datestr)
42 return datetime.datetime(d[0], d[1], d[2], d[3], d[4], d[5], d[6])
43
44
45def parse_gitlog(filename=None):

Callers 1

parse_gitlogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected