File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/timezone.cpython-310.pyc
Back
o ;jY � @ s2 d Z ddlZddlmZmZ dd� Zd dd�ZdS ) a. Management of timezones ======================= The timezone can be managed for the system: .. code-block:: yaml America/Denver: timezone.system The system and the hardware clock are not necessarily set to the same time. By default, the hardware clock is set to localtime, meaning it is set to the same time as the system clock. If `utc` is set to True, then the hardware clock will be set to UTC, and the system clock will be an offset of that. .. code-block:: yaml America/Denver: timezone.system: - utc: True .. _here: https://help.ubuntu.com/community/UbuntuTime#Multiple_Boot_Systems_Time_Conflicts The Ubuntu community documentation contains an explanation of this setting, as it applies to systems that dual-boot with Windows. This is explained in greater detail here_. � N)�CommandExecutionError�SaltInvocationErrorc C s dt v rdS dS )zC Only load if the timezone module is available in __salt__ ztimezone.get_zoneT)Fz#timezone module could not be loaded)�__salt__� r r �H/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/timezone.py�__virtual__"