Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Zeitformat in Objekte

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zeitformat in Objekte

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

      Ich habe mir in den Objekten einen Ordner angelegt und darunter einige Datenpunkte. Einer ist Zeit!

      Wenn ich dann hier 21:30 eingebe, wird es als 21:30:00 angezeigt! Was muss ich eintragen das die Anzeige nur 21:30 ist also ohne die Sekunden??

      So sieht es jetzt aus:

      {

      "from": "system.adapter.admin.0",

      "ts": 1544793134160,

      "common": {

      "name": "Stopzeit startautomatic",

      "role": "",

      "type": "string",

      "desc": "Manuell erzeugt",

      "read": true,

      "write": true,

      "def": false

      },

      "native": {},

      "acl": {

      "object": 1638,

      "owner": "system.user.admin",

      "ownerGroup": "system.group.administrator",

      "state": 1638

      },

      "_id": "Datenpunkte.0.Coundown.Stopzeit_startautomatic",

      "type": "state"

      }

      1 Reply Last reply Reply Quote 0
      • J
        joicevs last edited by

        Gibt es hier noch ein Tipp wie ich das Datumsformat festlegen kann? Es stören mich hier die Sekunden! Ich möchte die Uhrzeit als 21:30 angezeigt bekommen!

        1 Reply Last reply Reply Quote 0
        • G
          Georgius last edited by

          Wo willst Du das angezeigt haben? Wie es in den Datenpunkten steht wird ja wohl egal sein.

          1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active last edited by

            "type": "string",

            da passt alles rein. du bist auf dem holzweg.. oder hast nen Denkfehler. es ist nicht das Objekt.. oder du schreibst es schon richtig in das Objekt..

            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

            783
            Online

            32.0k
            Users

            80.4k
            Topics

            1.3m
            Posts

            3
            4
            1609
            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