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

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    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

        446
        Online

        32.0k
        Users

        80.4k
        Topics

        1.3m
        Posts

        javascript adapter proxmox time
        2
        2
        485
        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