MCPcopy
hub / github.com/ZhengyaoJiang/PGPortfolio / parse_time

Function parse_time

pgportfolio/tools/configprocess.py:92–93  ·  view source on GitHub ↗
(time_string)

Source from the content-addressed store, hash-verified

90
91
92def parse_time(time_string):
93 return time.mktime(datetime.strptime(time_string, "%Y/%m/%d").timetuple())
94
95
96def load_config(index=None):

Callers 3

get_coin_name_listFunction · 0.90
create_from_configMethod · 0.90
_extract_testFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected