fix: remove noisy log
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user