'Correct the timezone information on the given datetime'

def normalize(self, dt, is_dst=False):

    if (dt.tzinfo is None):
        raise ValueError('Naive    time    -    no    tzinfo    set')
    return dt.replace(tzinfo=self)
