fix: remove noisy log

This commit is contained in:
Matt Hughes
2022-10-18 13:52:55 -04:00
committed by Matt Hughes
parent b6fb69f432
commit b8fee69340

View File

@@ -101,8 +101,6 @@ def get_datetime_field(xblock, name, default):
field = getattr(xblock, name, default)
if isinstance(field, datetime):
if isinstance(field.tzinfo, tzlocal) and not hasattr(field.tzinfo, '_hasdst'):
# Todo: This log statement is added for temporary use only
logger.info('Python-dateutil logs: Making datetime field compatible to python-dateutil package')
return datetime(
year=field.year, month=field.month, day=field.day,
hour=field.hour, minute=field.minute, second=field.second,