'Given a datetime object as value convert it to the timezone of
the account.'

def localtime(self, value):

    timezone = (settings.TIME_ZONE if (not self.timezone) else self.timezone)
    if (value.tzinfo is None):
        value = pytz.timezone(settings.TIME_ZONE).localize(value)
    return value.astimezone(pytz.timezone(timezone))
