Last edited by balala on December 11th, 2020, 7:14 pm, edited 1 time in total.
Reason:Please use <code> tags whenever are posting code snippets. It's the </> button.
Leeroy2608 wrote: ↑December 11th, 2020, 7:13 pmI know this question was asked many times but I can't change my clock from ampm to 24h.
There is an included file (Variables.inc), which we'd need. But even without it, I can say you to change the Format variable within the above file to Format=H (or Format=#H if you'd like to avoid the leading zeros into the hour) and replace the Text=%1%2 option of the [Meter12hClock] meter with Text=%1.
I hope this is enough. If it isn't, post please the content of the @Resources\Variables.inc file.
Leeroy2608 wrote: ↑December 11th, 2020, 9:03 pm
Where can I get this variables.inc ?
It's in the @Resources folder of the config in which the skin's .ini file is located. If you don't know which one is, right click the skin and click Edit skin. The code of the skin opens in the default text editor. Check where is located the file. If for instance the file is C:\Users\YourName\Documents\Rainmeter\Skins\illustro\Clock\Clock.ini (this is just an example!), the config is illustro (right into the skins folder) and the @Resource folder is C:\Users\YourName\Documents\Rainmeter\Skins\illustro\@Resources. You can find the Variables.inc file right into it (C:\Users\YourName\Documents\Rainmeter\Skins\illustro\@Resources\Variables.inc -but again, this is just an example).
Leeroy2608 wrote: ↑December 11th, 2020, 9:06 pm
Found this one but not sure this is the right thing:
Yep, this is the right file. Replace the Format=#I variable with Format=#H and modify the Text option as described above.
Last edited by balala on December 11th, 2020, 9:18 pm, edited 1 time in total.
xenium wrote: ↑December 12th, 2020, 6:40 am
The skin must have a settings menu where you can change the time format.
Post the link where you downloaded the skin
If the skin you installed is Retto (https://www.deviantart.com/apexxx-sensei/art/Retto-834702982) follow the steps:
Reinstall the skin (because you have already made some changes)
Then (as mentioned in the skin description) right click on the weather skin go to Custom skin actions and select 24H Time