Convert a UTC datetime to a time awared local time

    :param utc_datetime:
    :param tzinfo:
    :param keep_tzinfo:

def utc_to_tz(utc_datetime, tzinfo, keep_tzinfo=False):
    """
    Convert a UTC datetime to a time awared local time

    :param utc_datetime:
    :param tzinfo:
    :param keep_tzinfo:
    """
    tz_awared_datetime = utc_datetime.replace(tzinfo=utc).astimezone(tzinfo)
    if keep_tzinfo is False:
        tz_awared_datetime = tz_awared_datetime.replace(tzinfo=None)
    return tz_awared_datetime