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.

    Clock , weather module problems

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 4.0k Views 2 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @Akzariel
      last edited by

      @Akzariel

      Have you set your time format in the config.js file to 24 hour?
      0_1509203347484_121.JPG

      The time in the weather module is not a clock. It shows the time of sunrise and sunset. Notice the little sunset icon to the left of 5:51 pm in your picture

      Create a working config
      How to add modules

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Akzariel
        last edited by

        0_1509204259917_ef61ae8bda7bf4ad8cd917115365bd86.png

        The whole config.js file , sir :)

        1 Reply Last reply Reply Quote 0
        • A Offline
          Akzariel @Mykle1
          last edited by

          This post is deleted!
          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Akzariel
            last edited by

            @Akzariel

            I assume you corrected the time format?

            All the configuration options available for the currentweather module are at the bottom of the readme, here.
            https://github.com/MichMich/MagicMirror/tree/master/modules/default/currentweather.

            I believe that adding this to the currentweather entry in your config will do what you are asking.
            onlyTemp: true,

            If you want to target just the sunset timer and icon you would have to do that via custom.css. It’s not recommended that you edit the currentweather.js.

            In the future, if you would post your code in a code block instead of a picture, it would be easier for others to see and to help you.

            Cheers, mate.

            Create a working config
            How to add modules

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Akzariel @Mykle1
              last edited by

              @Mykle1 No, sir I didn’t … I just corrected that currentweather problem with the code you gave me , the time format is still pm/am

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @Akzariel
                last edited by Mykle1

                @Akzariel said in Clock , weather module problems:

                the time format is still pm/am

                Well, the module is supposed to default to your config.js timeFormat: 24, as I pointed out in the picture earlier. Have you set that to 24? I just changed 3 different machines and they all displayed the 24 hour time format when that is set to 24

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  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