Happy new year, guys.
But my Rainmeter is still in 2020.
With two different skins, the "Simple Date.ini" of "Simple Time" skin , and also the "Date.ini" of "Windows Time and Date" skin, they are both indicate year "2020" on this new year's day.
- "Simple Date.ini" of "Simple Time"
- "Date.ini" of "Windows Time and Date"
Reloading skins or Rebooting PC were not effective.
I used "4.3.1 Final Release - r3321" for window 10, and after I found this issue I update Rainmeter to 4.4 Beta Release - r3412, but it didn't resolve problem.
Is there any way to resolve this issue?
How about your Rainmeter environment?
Thank you.
It is currently March 28th, 2024, 10:02 pm
Rainmeter still stayed in 2020.
-
- Posts: 3
- Joined: January 1st, 2021, 7:20 am
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Rainmeter still stayed in 2020.
Weird. But are you sure the date on the computer is alright? Is it in 2021? Because if it is, the Rainmeter skins rarelly still show 2020, especially after a refresh. So, first make sure the date is corretcly set on your computer and if the skin(s) still are showing wrong year, post the code of one of those skins here, please.
Happy New Year!
Happy New Year!
-
- Posts: 3
- Joined: January 1st, 2021, 7:20 am
Re: Rainmeter still stayed in 2020.
Thank you for your reply.
Yes, I confirmed the date on taskbar of my computer is set to 2021 correctly.
Here are the codes of skins.
1) SImple Data.ini
2) Date.ini
Yes, I confirmed the date on taskbar of my computer is set to 2021 correctly.
Here are the codes of skins.
1) SImple Data.ini
Code: Select all
[Rainmeter]
;;Backgroung settings
Update=20000
AccurateText=1
Name=System
Author=imonline.deviant.com
Information=System information||Instructions:Set font and color and other shared variables in @Resources\Variables.inc
Version=July 15, 2018
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
[Variables]
@Include=#@#Variables.inc
;-------------------------
[MeasureDay]
Measure=Time
Format=%e
[MeasureDay1]
Measure=Time
Format=%A
[MeasureMonth]
Measure=Time
Format=%B %G
------------------------------------------
[MeterDay]
Meter=STRING
MeasureName=MeasureDay
X=0
Y=20
StringAlign=left
FontColor=#FontColor2#
FontSize=42
FontFace=#FontName#
AntiAlias=4
[MeterMonth]
Meter=STRING
MeasureName=MeasureMonth
X=70r
Y=10r
StringAlign=left
FontColor=#FontColor#
FontSize=22
FontFace=#FontName#
AntiAlias=4
[MeterDay1]
Meter=STRING
MeasureName=MeasureDay1
X=0
Y=5R
StringAlign=left
FontColor=#FontColor2#
FontSize=48
FontFace=#FontName#
AntiAlias=4
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
[Metadata]
Name=Windows Time and Date
Information=Text Time and Date for Windows 10 Desktop.
Author=Khaleel Muhammad
Version=1.0
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
[Variables]
Scale=1
Color=ffffff
[MDate]
Measure=Time
Format=%A, %e %B %G
[Date]
Meter=String
MeasureName=MDate
InlineSetting=Face | Segoe UI
InlineSetting2=Color | #color#
InlineSetting3=Weight | 300
InlineSetting4=Size | (42 * #scale#)
InlineSetting5=CharacterSpacing | 0 | 0.599
AntiAlias=1
SolidColor=0,0,0,1
DynamicVariables=1
Last edited by balala on January 1st, 2021, 3:18 pm, edited 1 time in total.
Reason: Please use <code> tags, not <quote>, whenever are posting code snippets. It's the </> button.
Reason: Please use <code> tags, not <quote>, whenever are posting code snippets. It's the </> button.
-
- Posts: 69
- Joined: September 22nd, 2010, 8:30 pm
Re: Rainmeter still stayed in 2020.
For the year use %Y in stead of %G
Your code:
Should be:
That gives you:
You are using a week based year which may differ from the gregorian year.
See the formats here:
https://docs.rainmeter.net/manual-beta/measures/time/#FormatCodes
What's the difference? A week based year has a different definition of how it's defined/when it starts.
If you find it interesting here's an article about it on wiki:
https://en.wikipedia.org/wiki/ISO_week_date
Your code:
Code: Select all
[MeasureMonth]
Measure=Time
Format=%B %G
Code: Select all
[MeasureMonth]
Measure=Time
Format=%B %Y
You are using a week based year which may differ from the gregorian year.
See the formats here:
https://docs.rainmeter.net/manual-beta/measures/time/#FormatCodes
What's the difference? A week based year has a different definition of how it's defined/when it starts.
If you find it interesting here's an article about it on wiki:
https://en.wikipedia.org/wiki/ISO_week_date
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Rainmeter still stayed in 2020.
Completely correct, %Y should be used instead of %G.
and one more recommendation: I'd replace the Update=20000 option of the [Rainmeter] section of the first code, with the default Update=1000. Update=20000 means one update per 20 seconds, which is a little bit too much. The best practice on skins showing date / time, usually is the default Update=1000.
-
- Posts: 3
- Joined: January 1st, 2021, 7:20 am
Re: Rainmeter still stayed in 2020.
Thank you, Wim and balala!!
I got 2021 by using %Y instead of %G.
And I followed your recommendation, I set Update=20000 to Update=1000.
Happy New Year!
I got 2021 by using %Y instead of %G.
And I followed your recommendation, I set Update=20000 to Update=1000.
Happy New Year!
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Rainmeter still stayed in 2020.
I'm glad, even if this time Wim helped you. Wish the same for you too.
-
- Posts: 69
- Joined: September 22nd, 2010, 8:30 pm