Hi,
This is my first post so please be easy...
I have seen a few similar post but no one having quite the same issue i am. My weekly calendar shows the wrong (previous) week on Sunday, but on Monday it switches to the correct week. Other than that it is working fine. I have attached a picture showing my exact issue. As you can see the date today is Sunday the 28th, however the calendar beneath begins on the 21st. Once the date switches to Monday the calendar beneath will update and show the correct week. Any advice will be helpful
So far i have tried blindly going in and changing the code and made it a lot worse (luckly i had a backup). I also tried re downloading the skin, but the same issue was present.
Thanks in advance for your help.
Josh
P.S. If this is a repeat post or has been placed in the wrong section i apologize, as i mentioned before this is my first time posting in this forum and i do not have a lot of experience posting forums.
It is currently March 29th, 2024, 8:36 am
Lexis Calendar Showing wrong week
-
- Posts: 5
- Joined: December 28th, 2014, 9:00 pm
Lexis Calendar Showing wrong week
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: Lexis Calendar Showing wrong week
Please give me a link where I can download this skin or poste the code here.
-
- Posts: 5
- Joined: December 28th, 2014, 9:00 pm
Re: Lexis Calendar Showing wrong week
I can no longer find the download page. I am not able to attach the text file so I have pasted in the code below:
[Rainmeter]
Author=Kenz0 (mail2kenz0@gmail.com)
AppVersion=1004000
BackgroundMode=2
SolidColor=00000001
[Metadata]
Name=LEXIS-Calendar-Sunday
Config=LEXIS\Calendar
Description=Liner calendar for one week.
Version=1.2
Tags=calendar
License=Creative Commons Attribution 3.0 License.
Preview=LEXIS-Calendar.png
Credits=Originally designed by Alex Lareo. (iNote Tablet UI concept design)
[Variables]
@Include:Colors=#ROOTCONFIGPATH#ColorVariables.inc
[mYear]
Measure=Time
Format=%Y
[mWeek]
Measure=Time
Format=%#W
[mDay]
Measure=Time
Format=%w
[Line]
Meter=IMAGE
X=0
Y=24
W=200
H=1
SolidColor=#SubColor#55
[Week]
Meter=BITMAP
MeasureName=mWeek
X=10
Y=22
BitmapImage=images\[mYear].png
BitmapFrames=53
BitmapExtend=1
DynamicVariables=1
BitmapZeroFrame=1
ImageTint=#SubColor#99
[Day]
Meter=BITMAP
MeasureName=mDay
X=10
Y=0
BitmapImage=images\day.png
BitmapFrames=7
BitmapExtend=1
BitmapZeroFrame=1
ImageTint=#KeyColor#EE
Edit:
I believe the issue lies somewhere in the fact that this skin can also be configured to begin on Monday showing Sunday as the last day in the week making the skin refer to difference image files named mDay and mWeek. I see those in this code and that is what i was blindly attempting to change but i was only making it worse.
[Rainmeter]
Author=Kenz0 (mail2kenz0@gmail.com)
AppVersion=1004000
BackgroundMode=2
SolidColor=00000001
[Metadata]
Name=LEXIS-Calendar-Sunday
Config=LEXIS\Calendar
Description=Liner calendar for one week.
Version=1.2
Tags=calendar
License=Creative Commons Attribution 3.0 License.
Preview=LEXIS-Calendar.png
Credits=Originally designed by Alex Lareo. (iNote Tablet UI concept design)
[Variables]
@Include:Colors=#ROOTCONFIGPATH#ColorVariables.inc
[mYear]
Measure=Time
Format=%Y
[mWeek]
Measure=Time
Format=%#W
[mDay]
Measure=Time
Format=%w
[Line]
Meter=IMAGE
X=0
Y=24
W=200
H=1
SolidColor=#SubColor#55
[Week]
Meter=BITMAP
MeasureName=mWeek
X=10
Y=22
BitmapImage=images\[mYear].png
BitmapFrames=53
BitmapExtend=1
DynamicVariables=1
BitmapZeroFrame=1
ImageTint=#SubColor#99
[Day]
Meter=BITMAP
MeasureName=mDay
X=10
Y=0
BitmapImage=images\day.png
BitmapFrames=7
BitmapExtend=1
BitmapZeroFrame=1
ImageTint=#KeyColor#EE
Edit:
I believe the issue lies somewhere in the fact that this skin can also be configured to begin on Monday showing Sunday as the last day in the week making the skin refer to difference image files named mDay and mWeek. I see those in this code and that is what i was blindly attempting to change but i was only making it worse.
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Lexis Calendar Showing wrong week
If you can't find the download page, please pack your config (the folder wher the skin's files are) and upload it here. I also need those png files. Also be careful to include the ColorVariables.inc file, too.
-
- Posts: 5
- Joined: December 28th, 2014, 9:00 pm
Re: Lexis Calendar Showing wrong week
I hope this is everything you need. I tried zipping more, but it was to large.
Edit: I was unable to find the color variables file. If you still need it, is there another name it may be under, or possible embedded in another file?
Edit: I was unable to find the color variables file. If you still need it, is there another name it may be under, or possible embedded in another file?
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: Lexis Calendar Showing wrong week
No, that's all I need. I already found something, working on it...Leskaravin wrote:Edit: I was unable to find the color variables file. If you still need it, is there another name it may be under, or possible embedded in another file?
-
- Posts: 5
- Joined: December 28th, 2014, 9:00 pm
Re: Lexis Calendar Showing wrong week
Awesome. I do appreciate that.balala wrote: No, that's all I need. I already found something, working on it...
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Lexis Calendar Showing wrong week
Sorry for this very late reply.
So, in your zip are two ini files: LEXIS-Calendar-Monday.ini and LEXIS-Calendar-Sunday.ini. LEXIS-Calendar-Monday.ini is ok, the error is present just in LEXIS-Calendar-Sunday.ini. The problem seems to be that, according to rules of the Format=%#W on a Time measure, the week starts with Monday. But it should start with Sunday on this skin. The only thing you have to do to fix that is to change the Format=%#W to this: Format=%#U, on [mWeek] section.
Now that Sunday is off (at least here it is) I think you'll have to play with the time on your computer to can try this out. Please give it a try and let me know if it realy fixed your issue.
So, in your zip are two ini files: LEXIS-Calendar-Monday.ini and LEXIS-Calendar-Sunday.ini. LEXIS-Calendar-Monday.ini is ok, the error is present just in LEXIS-Calendar-Sunday.ini. The problem seems to be that, according to rules of the Format=%#W on a Time measure, the week starts with Monday. But it should start with Sunday on this skin. The only thing you have to do to fix that is to change the Format=%#W to this: Format=%#U, on [mWeek] section.
Now that Sunday is off (at least here it is) I think you'll have to play with the time on your computer to can try this out. Please give it a try and let me know if it realy fixed your issue.
-
- Posts: 5
- Joined: December 28th, 2014, 9:00 pm
Re: Lexis Calendar Showing wrong week
This completely fixed my issue. Thank you so much for you time.
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania