Searched refs:_TIME_FORMAT (Results 1 – 2 of 2) sorted by relevance
22 _TIME_FORMAT = '%Y-%m-%d %H:%M:%S' variable in firmware_EventLog40 timestamp = time.strptime(time_string, self._TIME_FORMAT)54 'date +"%s"' % self._TIME_FORMAT)[0]56 return time.strptime(time_string, self._TIME_FORMAT)
20 _TIME_FORMAT = '%d %b %Y %H:%M:%S' # Human-readable time format for logs variable300 f.write('%s: Starting btmon\n' % time.strftime(_TIME_FORMAT))325 f.write('%s: %s\n' % (time.strftime(_TIME_FORMAT), message))334 f.write('%s: %s\n' % (time.strftime(_TIME_FORMAT), message))