Commit b437f023 authored by litaolemo's avatar litaolemo

update

parent eec09def
......@@ -138,7 +138,7 @@ def trans_strtime_to_timestamp(input_time, missing_year=False):
if len(input_time) == 11:
year = func_inyear(input_time)
if year != str(0):
input_time = year + '-'
input_time = year + '-' + input_time
real_time = int(datetime.datetime.strptime(input_time,
'%Y-%m-%d %H:%M').timestamp()*1e3)
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment