Big-Sur-StatusArea
Big-Sur-StatusArea copied to clipboard
[Bug] Wrong date displayed
Today is Sunday 3rd of April but here you can see it shows Saturday 2nd of April of 2022 (it's in Portuguese).
The little calendar shows the correct date (again, it's in Portuguese):
System Info:
- Pop!_OS 21.10
- Gnome 40.5
- Extension Version: 39
hi @hyuri https://github.com/Ordissimo/Big-Sur-StatusArea/issues/74 https://github.com/Ordissimo/Big-Sur-StatusArea/issues/60 Can you look at these two outcomes? Do they correspond to your problem?
Hi @Ordissimo
I looked. They do not correspond to my problem.
In my case, the time is correct, only the date shown at the top of the card that opens when I click on the time on the gnome panel is wrong. The date on the mini calendar at the bottom is correct.
The date only updates itself to the correct date when the machine restarts, or when it wakes up from suspend (and maybe when logging out & in? I haven't tried this)
Hi @hyuri
Modify line 122 in indicator/calendar.js
//this._date.setDate(now)
As below:
this._date.setDate(now)
I am waiting for your feedback
Ok. Line 122 modified. Since I can only observe the issue at and after midnight, I'll check tonight and get back to you.
Thanks!
That change didn't work. Issue remains.
See how it shows 9 of April at the top and 10 of April at the bottom:
Hi @hyuri, Can you give me a feedback?
Hi @Ordissimo Sure! I just saw an update available for the extension. I'm guessing it includes your changes above. I'll update and test it tonight.
Thanks!
Unfortunately, still the same issue.
Pretty weird bug :( Is it only me facing this issue? Perhaps it has something to do with my timezone or Brazilian format settings?
Hi @hyuri , actually the processing can be impacted by your time zone, but it shouldn't. I'll put it back in shape.
Hi @hyuri, Can you test this branch: fix-calendar I installed POP-OS in a VM and tested it for 48 hours.
Hi @hyuri, Can you test this branch: fix-calendar I installed POP-OS in a VM and tested it for 48 hours.
I am also having the same issue where the wrong date is displayed. I tried the new branch and it's still showing the wrong time.
Correct time (extension turned off):
Wrong time (extension turned on):