def __virtual__():
    if ENABLED:
        return 'uptime'
    return (False, 'uptime module needs the python requests module to work')
Converts an aware datetime.datetime to local time.
dataset/ETHPy150Open saltstack/salt/salt/modules/uptime.py/__virtual__--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/utils/timezone.py/localtime