From a8ad63bb418f7c7e5b68732eff51b59ff0a48ac0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 20 Dec 2025 11:48:34 +0000 Subject: [PATCH] Debug --- newswire.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/newswire.py b/newswire.py index 53426c8ee..d1203dbbf 100644 --- a/newswire.py +++ b/newswire.py @@ -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: