def _parse_time(self, date_string, settings):
date_string = PATTERN.sub('<STR_LIT>', date_string)<EOL>date_string = re.sub(r'<STR_LIT>', '<STR_LIT>', date_string)<EOL>try:<EOL><INDENT>return time_parser(date_string)<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>
Attemps to parse time part of date strings like '1 day ago, 2 PM