reduce date normalization log priority from 'warning' to 'info'

This commit is contained in:
jan 2024-04-11 18:43:33 -07:00
parent 46b3349935
commit 6a0019010f

View File

@ -78,7 +78,7 @@ def parse_datetime(data: bytes) -> list[datetime]:
dt = datetime(year + 1900, *date_parts)
except ValueError as err:
dt = datetime(1900, 1, 1, 0, 0, 0)
logger.warning(f'Invalid date {[year] + date_parts}, setting {dt} instead')
logger.info(f'Invalid date {[year] + date_parts}, setting {dt} instead')
dts.append(dt)
return dts