import pytz


def utc_to_local(user, utc_dt):
    """
    Turn a date into a date matching use timezone. It's useful when you need
    to display a date.
    """
    local_tz = pytz.timezone(user["timezone"])
    local_dt = utc_dt.replace(tzinfo=pytz.utc).astimezone(local_tz)
    return local_tz.normalize(local_dt)