def utc_to_local(dt):
    return dt.replace(tzinfo=tz.tzutc()).astimezone(tz.tzlocal())
Convert naive datetime to local time zone, assuming UTC.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/utc_to_local