Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. tr-064 Datum- Zeitformat auf DE ändern?

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    tr-064 Datum- Zeitformat auf DE ändern?

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ATARI @ATARI last edited by

      @atari said in tr-064 Datum- Zeitformat auf DE ändern?:

      @fastfoot
      Upload bringt auch nichts.

      es ist zum Verzweifeln...
      Wenn es auf ioB via Docker auf meinem Synology NAS nicht perfekt laufen würde...
      Hier hab ich den tr-064 einfach nur inst., läuft im richtigen Format.

      Hänge jetzt seit Tagen an dem Problem ohne eine Lösung.
      Da z.Zt ungelöst, werde ich mir zumindest die Uhrzeit aus 'fb-checkpresence'
      holen müssen.

      Danke an Alle

      1 Reply Last reply Reply Quote 0
      • A
        ATARI @fastfoot last edited by

        @fastfoot Moin, moin.

        Update:
        Da ich mit JavaScript die Werte an mein Fibaro HomeCenter weiterleite,
        habe kurzerhand die Korrektur in den JavaScripten durchgeführt.
        Ich weiß, nicht sehr elegant…, aber erstmal eine Lösung.

        F 1 Reply Last reply Reply Quote 0
        • F
          fastfoot @ATARI last edited by

          @atari ich denke du hast noch node12 installiert. Der Adapter nutzt zur Formatierung toLocaleString() welches aber erst ab node14 wirklich mit internationalen Formaten umgehen kann. Gerade getestet. Kannst du auch tun:

          let d = new Date();
          log(d.toLocaleString())
          
          A 2 Replies Last reply Reply Quote 0
          • A
            ATARI @fastfoot last edited by ATARI

            @fastfoot
            nee…, sorry…, ist v14.18.2

            Habe über den installer.sh von iobroker.net installiert.

            F 1 Reply Last reply Reply Quote 0
            • F
              fastfoot @ATARI last edited by

              @atari sagte in tr-064 Datum- Zeitformat auf DE ändern?:

              @fastfoot
              nee…, sorry…, ist v14.18.2

              Habe über den installer.sh von iobroker.net installiert.

              und was sagt das kleine Skript?

              A 1 Reply Last reply Reply Quote 0
              • A
                ATARI @fastfoot last edited by

                @fastfoot
                über toLocateString() formatiere ich die Werte im JS neu.

                F 1 Reply Last reply Reply Quote 0
                • A
                  ATARI @fastfoot last edited by ATARI

                  @fastfoot
                  tja…, das gibt mir "1/3/2022, 7:04:39 PM“ aus.

                  Liegt es also am Armbian OS.
                  Habe alles im Armbian-Config auf DE umgestellt...

                  Homoran F 2 Replies Last reply Reply Quote 0
                  • F
                    fastfoot @ATARI last edited by

                    @atari sagte in tr-064 Datum- Zeitformat auf DE ändern?:

                    @fastfoot
                    über toLocateString() formatiere ich die Werte im JS neu.

                    ok, aber genau diese Funktion nutzt der tr064-Adapter auch und die bringt halt yyyy-mm-dd bei mir mit node12. Dann weiss ich es echt nicht, kann eig. gar nicht sein 🙂

                    A 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @ATARI last edited by

                      @atari sagte in tr-064 Datum- Zeitformat auf DE ändern?:

                      Habe alles im Armbian-Config auf DE umgestellt...

                      de-de utf8?

                      1 Reply Last reply Reply Quote 0
                      • A
                        ATARI @fastfoot last edited by

                        @fastfoot
                        suche gerade bei armbian docs nach Abhilfe...

                        1 Reply Last reply Reply Quote 0
                        • F
                          fastfoot @ATARI last edited by

                          @atari sagte in tr-064 Datum- Zeitformat auf DE ändern?:

                          @fastfoot
                          tja…, das gibt mir "1/3/2022, 7:04:39 PM“ aus.

                          Liegt es also am Armbian OS.
                          Habe alles im Armbian-Config auf DE umgestellt...

                          aber du sagtest doch dass du auch toLocaleString() benutzt???
                          Evtl. kann dir @Thomas-Braun sagen wie du deine Locale noch abändern kannst

                          Thomas Braun Homoran A 3 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @fastfoot last edited by

                            @fastfoot @atari

                            locale
                            sudo -u iobroker locale
                            

                            sagt?

                            A 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @fastfoot last edited by

                              @fastfoot sagte in tr-064 Datum- Zeitformat auf DE ändern?:

                              Evtl. kann dir @Thomas-Braun sagen wie du deine Locale noch abändern kannst

                              der redet sich bei Armbian immer raus 😉
                              dabei geht es da per Console genauso.

                              Aber über armbian-config ist es IMHO auch kein Problem

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                ATARI @fastfoot last edited by

                                @fastfoot
                                habe jetzt mal per "dpkg-reconfig... tzdata" nochmal umgestellt.
                                Bekomme als Antwort „Local time…. Mon Jan 3 19:14:00 CET 2022“
                                .

                                F 1 Reply Last reply Reply Quote 0
                                • A
                                  ATARI @Thomas Braun last edited by

                                  @thomas-braun Moin, moin.
                                  hiernach steht alles auf „DE“

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • F
                                    fastfoot @ATARI last edited by

                                    @atari sagte in tr-064 Datum- Zeitformat auf DE ändern?:

                                    @fastfoot
                                    habe jetzt mal per "dpkg-reconfig... tzdata" nochmal umgestellt.
                                    Bekomme als Antwort „Local time…. Mon Jan 3 19:14:00 CET 2022“
                                    .

                                    da geht es nur um die Zeit, mache was @Thomas-Braun sagt!

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

                                      @atari Nicht nacherzählen, vollständige Ein- und Ausgaben sind gefragt.

                                      A 1 Reply Last reply Reply Quote 1
                                      • A
                                        ATARI @Thomas Braun last edited by Homoran

                                        @thomas-braun

                                        TinkerBoard:~:# sudo -u iobroker locale
                                        LANG=de_DE.UTF-8
                                        LANGUAGE=de_DE.UTF-8
                                        LC_CTYPE="de_DE.UTF-8"
                                        LC_NUMERIC="de_DE.UTF-8"
                                        LC_TIME="de_DE.UTF-8"
                                        LC_COLLATE="de_DE.UTF-8"
                                        LC_MONETARY="de_DE.UTF-8"
                                        LC_MESSAGES="de_DE.UTF-8"
                                        LC_PAPER="de_DE.UTF-8"
                                        LC_NAME="de_DE.UTF-8"
                                        LC_ADDRESS="de_DE.UTF-8"
                                        LC_TELEPHONE="de_DE.UTF-8"
                                        LC_MEASUREMENT="de_DE.UTF-8"
                                        LC_IDENTIFICATION="de_DE.UTF-8"
                                        LC_ALL=de_DE.UTF-8
                                        

                                        MOD-Edit: Code in code-tags gesetzt!

                                        so besser????, lesen kann ich!!!

                                        Thomas Braun F 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @ATARI last edited by Thomas Braun

                                          @atari sagte in tr-064 Datum- Zeitformat auf DE ändern?:

                                          so besser????, lesen kann ich!!!

                                          Nein, du hampelst als root rum. Macht man nicht. Als user anmelden.
                                          Und CodeTags verwenden.

                                          A 1 Reply Last reply Reply Quote 0
                                          • F
                                            fastfoot @ATARI last edited by

                                            @atari was sagt denn node -v ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            549
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            80
                                            3108
                                            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