def format_datetime(time):
    user_time_zone = timezone.get_current_timezone()
    if time.tzinfo is None:
        time = time.replace(tzinfo = pytz.utc)
        user_time_zone = pytz.timezone(getattr(settings, 'USER_TIME_ZONE', 'GMT'))

    time = time.astimezone(user_time_zone)
    return time.strftime("%b %d, %Y %H:%M")
multiply by scalar
dataset/ETHPy150Open nyaruka/smartmin/smartmin/templatetags/smartmin.py/format_datetime--crossover with--dataset/ETHPy150Open boldport/pcbmode/pcbmode/utils/point.py/Point.mult