def METHOD_NAME(xblock, name, default):
    """
    This method was moved from BlockStructureBlockData because some of the datetime
    that was cached from previous version of dateutil does not live here. This will
    be use as share code for reusability and Wack-a-mole situation of the same bug.
    Creates a new datetime object to avoid issues occurring due to upgrading
    python-datetuil version from 2.4.0
    More info: https://openedx.atlassian.net/browse/BOM-2245
    """
    field = getattr(xblock, name, default)
    if isinstance(field, datetime):
        if isinstance(field.tzinfo, tzlocal) and not hasattr(field.tzinfo, '_hasdst'):
            return datetime(
                year=field.year, month=field.month, day=field.day,
                hour=field.hour, minute=field.minute, second=field.second,
                tzinfo=tzlocal()
            )
    return field