Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Proxmox-Javascript Adapter-falsche Uhrzeit (Universal time)

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Proxmox-Javascript Adapter-falsche Uhrzeit (Universal time)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Johannes Bauerstatter
      Johannes Bauerstatter last edited by

      Hallo,

      habe heute festgestellt, dass wenn ich in Javascript die Uhrzeit abfrage, diese "falsch" ist:

      root@Server:/# timedatectl
                     Local time: Wed 2021-12-15 07:50:42 CET
                 Universal time: Wed 2021-12-15 06:50:42 UTC
                       RTC time: Wed 2021-12-15 07:50:42
                      Time zone: CET (CET, +0100)
      System clock synchronized: yes
                    NTP service: n/a
                RTC in local TZ: no
      

      Javascript nutzt ja die Universal time. Wie kann ich diese ändern? Local time und RTC time sind richtig.

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Johannes Bauerstatter last edited by Thomas Braun

        @johannes-bauerstatter
        Gar nicht. Die UTC ist deswegen Universal, weil die eben nicht angepasst wird. Setze die Zeitzone stattdessen. Wobei man auch nicht als root hantiert.

        Die RTC läuft eigentlich auch auf UTC, nicht auf lokaler Zeit. Vermutlich kommt deine Diskrepanz daher.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate
        FAQ Cloud / IOT
        HowTo: Node.js-Update
        HowTo: Backup/Restore
        Downloads
        BLOG

        857
        Online

        31.7k
        Users

        79.8k
        Topics

        1.3m
        Posts

        javascript adapter proxmox time
        2
        2
        463
        Loading More Posts
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as topic
        Log in to reply
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
        The ioBroker Community 2014-2023
        logo