• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Input...What do you think?

Scheduled Pinned Locked Moved Development
54 Posts 9 Posters 38.3k Views 7 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    cowboysdude Module Developer @barnosch
    last edited by Jul 28, 2017, 1:03 PM

    @barnosch said in Input...What do you think?:

    Looks very nice.
    The german translation seems to be wrong ;) and not even added to the MMM-NOAA.js
    Guess your are still in the middle of development.
    Added it myself but it is not working yet.
    Also i would like a 24hours setting, if possible.

    Thansk for your work

    PS: is this correct in the default settings? Guess not.

    show: "F".toLowerCase(), // show F or C Temps
    

    In your config.js file at the top…

        ```timeFormat: 12,  // change that to a 24 ;) ```
    
    1 Reply Last reply Reply Quote 1
    • C Offline
      cowboysdude Module Developer
      last edited by cowboysdude Jul 28, 2017, 10:57 PM Jul 28, 2017, 10:51 PM

      Hot off the presses … Swedish translation :) Thanks again @Snille

      [If anyone would be kind enough to do the German translation I’d appreciate it!! PM me!]

      0_1501282631218_swedish.png

      S P 3 Replies Last reply Jul 29, 2017, 8:55 AM Reply Quote 1
      • C Offline
        cowboysdude Module Developer @barnosch
        last edited by cowboysdude Jul 29, 2017, 2:01 AM Jul 29, 2017, 12:44 AM

        @barnosch said in Input...What do you think?:

        Looks very nice.
        The german translation seems to be wrong ;) and not even added to the MMM-NOAA.js
        Guess your are still in the middle of development.
        Added it myself but it is not working yet.
        Also i would like a 24hours setting, if possible.

        Thansk for your work

        PS: is this correct in the default settings? Guess not.

        show: "F".toLowerCase(), // show F or C Temps
        

        Done… in the config file it’s
        format: "12" or "24"

        testing

        1 Reply Last reply Reply Quote 1
        • B Offline
          barnosch
          last edited by Jul 29, 2017, 7:32 AM

          Thanks. I already fixed it at my mirror with
          (config was already in 24hours mode)
          changeing this line

          //  time = time.toLocaleString('en-US', { hour: 'numeric',minute:'numeric', hour12: true });
                 time = time.toLocaleString('de-DE', { hour: 'numeric',minute:'numeric', hour24: true });
          

          which did the job

          And for the sunset and sunrise i just changed to

          H:mm
          
          

          Ugly and hardcoded but worked for me. with my low programming skills.

          How is the correct way to update the repository via git? I’m kind of new to this stuff.

          C 2 Replies Last reply Jul 29, 2017, 12:27 PM Reply Quote 1
          • S Offline
            Snille Module Developer @cowboysdude
            last edited by Jul 29, 2017, 8:55 AM

            @cowboysdude Ah, Thank you! Looking good. I’ll pull when I have some time. :)

            If you cant find it, make it and share it!
            Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

            1 Reply Last reply Reply Quote 1
            • C Offline
              cowboysdude Module Developer @barnosch
              last edited by cowboysdude Jul 29, 2017, 1:19 PM Jul 29, 2017, 12:27 PM

              @barnosch said in Input...What do you think?:

              Thanks. I already fixed it at my mirror with
              (config was already in 24hours mode)
              changeing this line

              //  time = time.toLocaleString('en-US', { hour: 'numeric',minute:'numeric', hour12: true });
                     time = time.toLocaleString('de-DE', { hour: 'numeric',minute:'numeric', hour24: true });
              

              which did the job

              And for the sunset and sunrise i just changed to

              H:mm
              
              

              Ugly and hardcoded but worked for me. with my low programming skills.

              How is the correct way to update the repository via git? I’m kind of new to this stuff.

              No you did great but I will put in a fix for it and you can do a git pull later :)

              Ok the fix is in… the time will automatically read your language in the config.js file and adjust itself accordingly… However you will want to keep your sunrise/sunset ‘fix’ for now because I did not change that. :)

              1 Reply Last reply Reply Quote 0
              • P Offline
                planet4 @cowboysdude
                last edited by Jul 29, 2017, 12:52 PM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • P Offline
                  planet4 @cowboysdude
                  last edited by Jul 29, 2017, 12:53 PM

                  @cowboysdude Looking forward to this but it should be prognos and not prognås right? In the swedish translation.

                  S 1 Reply Last reply Jul 29, 2017, 1:06 PM Reply Quote 0
                  • S Offline
                    Snille Module Developer @planet4
                    last edited by Jul 29, 2017, 1:06 PM

                    @planet4 “Prognås” is my bad… :) Sorry… You are correct. I thought it looked strange. :)

                    If you cant find it, make it and share it!
                    Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                    1 Reply Last reply Reply Quote 1
                    • C Offline
                      cowboysdude Module Developer @barnosch
                      last edited by Jul 29, 2017, 1:38 PM

                      @barnosch said in Input...What do you think?:

                      Thanks. I already fixed it at my mirror with
                      (config was already in 24hours mode)
                      changeing this line

                      //  time = time.toLocaleString('en-US', { hour: 'numeric',minute:'numeric', hour12: true });
                             time = time.toLocaleString('de-DE', { hour: 'numeric',minute:'numeric', hour24: true });
                      

                      which did the job

                      And for the sunset and sunrise i just changed to

                      H:mm
                      
                      

                      Ugly and hardcoded but worked for me. with my low programming skills.

                      How is the correct way to update the repository via git? I’m kind of new to this stuff.

                      Ok so it’s all updated.

                      As I said above the time zone will adjust automatically and to show the AM/PM on the Sunrise/Sunset time is now a config option [See Readme on Github].

                      To update go to:

                      ~MagicMirror/modules/MMM-NOAA
                      type: git pull

                      That should update for you ;)

                      S 1 Reply Last reply Jul 29, 2017, 1:51 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      5 / 6
                      • First post
                        45/54
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy