elementary/wingpanel-indicator-datetime

Highlighted 'today' day number falls out of sync over time

hanaral opened this issue · 7 comments

What Happened

Today is the 14th of March, Sunday - however when I open the indicator it auto-selects yesterday(the 13th of March, Saturday) and when I manually focus another day the 13th is still in bold and accent coloured. This is pretty misleading, and presumably it's because I suspend my computer overnight.

Expected Behavior

The date is shown correctly every time

Steps to Reproduce

  1. Suspend your device between date changes
  2. Open indicator and note which day is marked as today

Platform Information

elementary OS 6 Daily


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Also If you push "Go to today" button, go to 13th of March.

I think we should listen for 'UserNew', 'SeatNew' and 'SessionNew' events in this place.
And ofc this issue is also happens if you are using hibernation in your system

I'll add my own to this, since it is not yet resolved.

I noticed the mark around today's date on the dropdown has stopped updating at all, yet the main bar of the wingpanel shows the correct date and time.

Friday (the highlight in the image) was roughly the last day the system was fully rebooted. All other days the computer was put into sleep mode . All times of sleep activation were after midnight (1-2am) so the computer is running when this issue happens.
This is on the official release version of elementary OS.

$ cat /etc/os-release
NAME="elementary OS"
VERSION="6 Odin"
PRETTY_NAME="elementary OS 6 Odin"

Screenshot from 2021-09-07 09-50-59

I'm seeing the same issue. The calendar shows the date of the last reboot, not the current one:

image

stsdc commented

Same for me.
obraz

The above linked PR may fix this although it is intended to fix a different issue.

This does seem to be fixed in #280 afaict