Calendar highlights the wrong day of week?

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
AFFLiCTED1
Level 1
Level 1
Posts: 6
Joined: Tue Aug 21, 2018 11:13 pm

Calendar highlights the wrong day of week?

Post by AFFLiCTED1 » Tue Aug 21, 2018 11:26 pm

I'm a newbie, so I hope I'm posting this in the correct section.
The calendar accurately displays "Tuesday August 21, 2018" in text, but the highlighted "square" in the calendar is under "Mon"...

Image

I'm using Cinnamon, if you couldn't tell by the image... Is this a bug, or did I mess something up?

Regards,

User avatar
Pierre
Level 17
Level 17
Posts: 7574
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Calendar highlights the wrong day of week?

Post by Pierre » Tue Aug 21, 2018 11:32 pm

it's rather doubtful, that you've messed something up,
however, log-off & restart your machine, and wait a few minutes, for the system to re-sync with the 'net,
do those marked updates, although it's doubtful, that they are any related issue,
& then see if that issue still remains.
:)
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

AFFLiCTED1
Level 1
Level 1
Posts: 6
Joined: Tue Aug 21, 2018 11:13 pm

Re: Calendar highlights the wrong day of week?

Post by AFFLiCTED1 » Wed Aug 22, 2018 12:02 am

Thanks for the help... unfortunately, it did not fix it.

I applied the update (it was some java related thing), then restarted, waited about 10 minuets or so after boot-up, but it didn't change... so I went into the Date & Time options and started messing with the "First day of week" setting and it actually sent it back another day lol... I'm now on Sunday, August 21 2018 :?
Image

Regards,

Edit: It looks like the week header above the calendar is shifting oddly... if it started with "Sun" it would actually line up correctly, but now it's starting with "Fri" ... odd right?

User avatar
smurphos
Level 8
Level 8
Posts: 2040
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Calendar highlights the wrong day of week?

Post by smurphos » Wed Aug 22, 2018 12:55 am

It is very odd. What Mint / Cinnamon version are you using?

Couple of things to try to try and track down a cause.

1) Remove and then re-add the calendar applet from the panel.
2) Try changing Cinnamon Desktop theme.
3) Set up a temporary new user via Users & Groups app, then log out and log in to the new user. Check if the Calendar day headings displays properly in that user.
4) In your regular user post back the output of this command run in the terminal gsettings get org.cinnamon.desktop.interface first-day-of-week

5) In your regular user account post back the output of locale

AFFLiCTED1
Level 1
Level 1
Posts: 6
Joined: Tue Aug 21, 2018 11:13 pm

Re: Calendar highlights the wrong day of week?

Post by AFFLiCTED1 » Wed Aug 22, 2018 1:28 am

I appreciate the help. I'm using Mint 19 Tara 64-bit... so I'm guessing the latest version of Cinnamon? I haven't changed anything as far as desktop version is concerned.

Doing those three things set it back to being 1 day off instead of 2:

Image

gsettings get org.cinnamon.desktop.interface first-day-of-week
Result: 0


locale
Result:

Code: Select all

LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
EDIT: I'll check back after work for replies... I have to get some sleep before then. Thanks again for the help!

User avatar
catweazel
Level 17
Level 17
Posts: 7756
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Calendar highlights the wrong day of week?

Post by catweazel » Wed Aug 22, 2018 3:11 am

AFFLiCTED1 wrote:
Tue Aug 21, 2018 11:26 pm
I'm a newbie, so I hope I'm posting this in the correct section.
The calendar accurately displays "Tuesday August 21, 2018" in text, but the highlighted "square" in the calendar is under "Mon"...

I'm using Cinnamon, if you couldn't tell by the image... Is this a bug, or did I mess something up?

Regards,
This problem arose once before, a few years back. Try changing your desktop theme.

viewtopic.php?t=200449
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

AFFLiCTED1
Level 1
Level 1
Posts: 6
Joined: Tue Aug 21, 2018 11:13 pm

Re: Calendar highlights the wrong day of week?

Post by AFFLiCTED1 » Wed Aug 22, 2018 7:36 pm

Changing my theme doesn't make a difference...

Image

User avatar
smurphos
Level 8
Level 8
Posts: 2040
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Calendar highlights the wrong day of week?

Post by smurphos » Thu Aug 23, 2018 2:05 am

No real clue what could be going on here...

Did the error persist in the fresh user account?

If yes then try apt install --reinstall cinnamon-common then reboot.

AFFLiCTED1
Level 1
Level 1
Posts: 6
Joined: Tue Aug 21, 2018 11:13 pm

Re: Calendar highlights the wrong day of week?

Post by AFFLiCTED1 » Thu Aug 23, 2018 7:22 pm

Yes, the problem was still there with the temporary account I created (refer to the post above with the purple theme).

I reinstalled cinnamon as you instructed, then rebooted, but it made no difference. Is there anyway to delete saved preferences or maybe a config file to reset everything to defaults for cinnamon, might be worth a shot?

Thanks again for the help.

User avatar
smurphos
Level 8
Level 8
Posts: 2040
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Calendar highlights the wrong day of week?

Post by smurphos » Fri Aug 24, 2018 12:55 am

AFFLiCTED1 wrote:
Thu Aug 23, 2018 7:22 pm
Yes, the problem was still there with the temporary account I created (refer to the post above with the purple theme).

I reinstalled cinnamon as you instructed, then rebooted, but it made no difference. Is there anyway to delete saved preferences or maybe a config file to reset everything to defaults for cinnamon, might be worth a shot?

Thanks again for the help.
Right click on the panel. select troubleshoot, and then select Restore all Settings to default. Don't think that will help though if the problem manifested on a fresh user account.

AFFLiCTED1
Level 1
Level 1
Posts: 6
Joined: Tue Aug 21, 2018 11:13 pm

Re: Calendar highlights the wrong day of week?

Post by AFFLiCTED1 » Fri Aug 24, 2018 1:20 am

You're right, did nothing.

Oh well, I'm not going to bother with a fresh install as I have everything set up the way I want... I guess I'll just live with it. ¯\_(ツ)_/¯

Thanks once more for the help.

Regards,

User avatar
lsemmens
Level 6
Level 6
Posts: 1158
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Calendar highlights the wrong day of week?

Post by lsemmens » Fri Aug 24, 2018 4:29 am

Is it possible that you have set your Region under Language settings to one other than your own?
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

Post Reply

Return to “Cinnamon”