Searched refs:TIME_FMT (Results 1 – 9 of 9) sorted by relevance
33 TIME_FMT = '%Y-%m-%d %H:%M:%S' variable51 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):
282 begin_time_str, time_utils.TIME_FMT).timetuple()))289 end_time_str, time_utils.TIME_FMT).timetuple()))
47 return datetime.datetime.now().strftime(time_utils.TIME_FMT)
605 timestamp = datetime.datetime.now().strftime(time_utils.TIME_FMT)
1013 begin_time_str = datetime.datetime.now().strftime(time_utils.TIME_FMT)
678 return [task0.time_started.strftime(time_utils.TIME_FMT),679 task1.time_finished.strftime(time_utils.TIME_FMT)]
340 return reference_time.strftime(time_utils.TIME_FMT)
1331 time_utils.TIME_FMT)
679 formatter = logging.Formatter(_LOG_FORMAT, time_utils.TIME_FMT)