Home
last modified time | relevance | path

Searched refs:TIME_FMT (Results 1 – 9 of 9) sorted by relevance

/external/autotest/client/common_lib/
Dtime_utils.py33 TIME_FMT = '%Y-%m-%d %H:%M:%S' variable
51 return datetime.datetime.strptime(time_string, TIME_FMT)
69 return time.mktime(time.strptime(date_string, TIME_FMT))
72 def epoch_time_to_date_string(epoch_time, fmt_string=TIME_FMT):
/external/autotest/server/cros/dynamic_suite/
Djob_status.py282 begin_time_str, time_utils.TIME_FMT).timetuple()))
289 end_time_str, time_utils.TIME_FMT).timetuple()))
Dsuite_common.py47 return datetime.datetime.now().strftime(time_utils.TIME_FMT)
Ddynamic_suite.py605 timestamp = datetime.datetime.now().strftime(time_utils.TIME_FMT)
Dsuite.py1013 begin_time_str = datetime.datetime.now().strftime(time_utils.TIME_FMT)
/external/autotest/server/lib/
Dstatus_history.py678 return [task0.time_started.strftime(time_utils.TIME_FMT),
679 task1.time_finished.strftime(time_utils.TIME_FMT)]
/external/autotest/site_utils/
Djob_directories_unittest.py340 return reference_time.strftime(time_utils.TIME_FMT)
Dlab_inventory.py1331 time_utils.TIME_FMT)
/external/autotest/site_utils/deployment/
Dinstall.py679 formatter = logging.Formatter(_LOG_FORMAT, time_utils.TIME_FMT)