Searched refs:TIME_FMT (Results 1 – 11 of 11) sorted by relevance
27 TIME_FMT = '%Y-%m-%d %H:%M:%S' variable45 return datetime.datetime.strptime(time_string, TIME_FMT)63 return time.mktime(time.strptime(date_string, TIME_FMT))66 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()))
43 return datetime.datetime.now().strftime(time_utils.TIME_FMT)
592 timestamp = datetime.datetime.now().strftime(time_utils.TIME_FMT)
1008 begin_time_str = datetime.datetime.now().strftime(time_utils.TIME_FMT)
670 return [task0.time_started.strftime(time_utils.TIME_FMT),671 task1.time_finished.strftime(time_utils.TIME_FMT)]
326 return reference_time.strftime(time_utils.TIME_FMT)
1011 self.view['job_started_time'], time_utils.TIME_FMT)1014 self.view['job_finished_time'], time_utils.TIME_FMT)
1331 time_utils.TIME_FMT)
217 current_value = current_value.strftime(time_utils.TIME_FMT)218 row_value = row_value.strftime(time_utils.TIME_FMT)
709 formatter = logging.Formatter(_LOG_FORMAT, time_utils.TIME_FMT)