It is currently April 20th, 2024, 6:24 am

Help With Theme

Get help with creating, editing & fixing problems with skins
Thamaxx
Posts: 1
Joined: September 6th, 2018, 2:29 am

Help With Theme

Post by Thamaxx »

I am sure this has been asked probably a million times but I can't seem to figure it out lmfao how do I change from 24hr format to 12 hr. tia!!!

Code: Select all

[MeasureTime]
Measure=Time
UpdateDivider=6


[MeasureTimeH]
Measure=Time
Format="%#Hour#"
UpdateDivider=6

[MeasureTimeM]
Measure=Time
Format="%M"
UpdateDivider=6


[MeasureTimeS]
Measure=Time
Format="%S"
UpdateDivider=6

[MeasureASec]
Measure=Calc
Formula=MeasureTime % 1
MaxValue=1
MinValue=0
Substitute="0":"","1":":"
UpdateDivider=6

[MeterTimeH2]
Meter=STRING
Prefix="88"
X=250
Y=11
FontColor=#Color2#,40
StringStyle=NORMAL
FontSize=20
StringAlign=LEFT
FontFace=Digital
AntiAlias=1
UpdateDivider=6


[MeterTimeH]
Meter=STRING
MeasureName=MeasureTimeH
X=r
Y=0r
FontColor=#Color2#,255
StringStyle=NORMAL
FontSize=20
StringAlign=LEFT
FontFace=Digital
StringEffect=Border
FontEffectColor=#Color1#,150
AntiAlias=1
Hidden=0
UpdateDivider=6

[MeterTimeM2]
Meter=STRING
Prefix="88"
X=290
Y=0r
FontColor=#Color2#,40
StringStyle=NORMAL
FontSize=20
StringAlign=LEFT
FontFace=Digital
AntiAlias=1
UpdateDivider=6

[MeterTimeM]
Meter=STRING
MeasureName=MeasureTimeM
X=r
Y=0r
FontColor=#Color2#,255
StringStyle=NORMAL
FontSize=20
StringAlign=LEFT
FontFace=Digital
StringEffect=Border
FontEffectColor=#Color1#,150
AntiAlias=1
UpdateDivider=6


[MeterBlinkingDots]
Meter=String
MeasureName=MeasureASec
X=280
Y=r
FontColor=#Color2#,255
FontSize=20
StringAlign=Left
FontFace=Digital
StringEffect=Border
FontEffectColor=#Color1#,150
AntiAlias=1
UpdateDivider=6

[MeterTimeH2 bot]
Meter=STRING
Prefix=":"
X=r
Y=10
FontColor=#Color2#,40
StringStyle=NORMAL
FontSize=22
StringAlign=LEFT
FontFace=Digital
AntiAlias=1
UpdateDivider=6
Last edited by Brian on September 6th, 2018, 5:47 am, edited 1 time in total.
Reason: Please use [code] tags.
User avatar
Brian
Developer
Posts: 2679
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Help With Theme

Post by Brian »

The 12 hour format code for the Time measure is %I.
https://docs.rainmeter.net/manual/measures/time/#FormatCodes

However, judging by your Time measure, it looks as if you are using a variable to define that?

Code: Select all

[MeasureTimeH]
Measure=Time
Format="%#Hour#"
UpdateDivider=6
So maybe there is a variable named Hour in your [Variables] section that is probably equal to %H? If so, change that to %I. Or you can just change the format to Format="%I" if you would like.

-Brian