Read the statement by Michael Teeuw here.
Clock , weather module problems
-
Have you set your time format in the config.js file to 24 hour?
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
-
The whole config.js file , sir :)
-
This post is deleted! -
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.
-
@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
-
@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