main
Bob Mottram 2025-12-20 11:48:34 +00:00
parent e231831470
commit a8ad63bb41
1 changed files with 5 additions and 2 deletions

View File

@ -354,9 +354,12 @@ def parse_feed_date(pub_date: str, unique_string_identifier: str) -> str:
try:
published_date = date_from_string_format(pub_date2, [date_format])
except BaseException as exc:
if '.' not in pub_date2 and \
if 'Z' not in pub_date and \
'EST' not in pub_date and \
'GMT' not in pub_date and \
'UT' not in pub_date and \
date_format == "%a, %d %b %Y %H:%M:%S":
errmsg = ' ' + str(exc)
errmsg = '| ' + pub_date2 + '| ' + str(exc)
continue
if published_date: