def convert_to_local_time(dt_aware):
    tz = pytz.timezone('America/Los_Angeles')
dt_my_tz = dt_aware.astimezone(tz)
dt_naive = dt_my_tz.replace(tzinfo=None)
Converting timezone-aware date string to UTC and back in Python