Bug 490384 - GMT+4 mistakenly named GMT-4
Summary: GMT+4 mistakenly named GMT-4
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (show other bugs)
Version: 6.1.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-17 05:08 UTC by Berbigou
Modified: 2024-07-25 03:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
see wrong time zones (16.46 KB, image/png)
2024-07-17 05:08 UTC, Berbigou
Details
attachment-3567924-0.html (4.81 KB, text/html)
2024-07-24 05:40 UTC, Berbigou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Berbigou 2024-07-17 05:08:52 UTC
Created attachment 171723 [details]
see wrong time zones

SUMMARY
GMT+4 mistakenly named GMT-4, I didn't verify other time zones.

STEPS TO REPRODUCE
1. Set a time zone using GMT+4, apply
2. you should get GMT+4, you get GMT-4
3. 

OBSERVED RESULT
exemple: GMT+4 is 01:00:00, GMT-4 is 09:00:00 which is wrong (inversed)

EXPECTED RESULT
GMT+4 is 09:00:00, GMT-4 is 01:00:00

SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx
Memory: 5.7 Gio of RAM
Graphics Processor: AMD Radeon Vega 3 Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: VivoBook_ASUSLaptop X412DA_X412DA
System Version: 1.0

ADDITIONAL INFORMATION

please, see https://en.wikipedia.org/wiki/Coordinated_Universal_Time
and https://en.wikipedia.org/wiki/Coordinated_Universal_Time#/media/File:World_Time_Zones_Map.png
for reference
Comment 1 TraceyC 2024-07-22 20:10:58 UTC
I confirm this behavior on 6.1.3. The bug appears fixed in git-master, I am *not* able to reproduce it there.
Can you please re-test and see if you're still able to reproduce this with git-master?


Steps to reproduce:
Right click the clock in the taskbar to bring up Digital Clock settings -> Time Zones
Add More Time Zones
I chose Etc/GMT+4

Current time: 2:52PM - Central / GMT-6
Switched to GMT+4 in Time Zones, clicked Apply

https://greenwichmeantime.com/time-zone/gmt-plus-4/
Time shown for GMT+4  is "3:52PM (-04)" - this is GMT-4
Actual time in GMT+4 is 11:52PM
Comment 2 Berbigou 2024-07-23 04:23:19 UTC
(In reply to TraceyC from comment #1)

I guess you talk about plasma-desktop-git.

Sorry TraceyC, I'm on holidays (far from my time zone...) with a slow Internet connection, I won't put such a mess compiling plasma-desktop-git, with many not-up-to-date and orphaned packages. 

You're on  your own, but thanks for dealing with this bug.
Comment 3 TraceyC 2024-07-23 17:24:57 UTC
Hi,

Please don't interrupt your holidays for the sake of this bug :)  It will remain open for 30 days before auto-closing if there's not response before then.

What I meant by git-master is that I have Plasma compiled from the master Plasma branch.

When you're back from holiday, I have a question. You had put "master" as the version of Digital Clock in your bug report. How did you install it?
Comment 4 Berbigou 2024-07-24 05:40:32 UTC
Created attachment 171945 [details]
attachment-3567924-0.html

thanks.
about 'master', I  did nothing, just clicked 'send a bug notice' in 
clock settings help page (see screenshot attached in French) and it 
brought me to bug tracking page (second attached) . I didn't tick 
'master', it was already.
paru -Qi plasma-desktop [ 7:34]
Nom                      :plasma-desktop
Version                  :6.1.3-1
Description              :KDE Plasma Desktop
Architecture             :x86_64
URL                      :https://kde.org/plasma-desktop/
Licences                 :LGPL-2.0-or-later
Groupes                  :plasma

At this point, I saw 'plasmashell' as product, but I don't know what 
package has the clock inside, I have
plasma5support plasma-desktop plasma-pa
plasma-activities        plasma-integration plasma-systemmonitor
plasma-activities-stats  plasma-nm plasma-workspace
installed (listed thanks to zsh completion), and no plasmashell. So I 
thought you were talking about plasma-desktop-git, but maybe I'm wrong.

All were installed long ago with my first plasma group install, with 
pacman and paru. No AUR/git involved here.
Greetings.

****************
Cordialement.
Bernard CLOTILDE

Le 23/07/2024 à 19:24, TraceyC a écrit :
> https://bugs.kde.org/show_bug.cgi?id=490384
>
> --- Comment #3 from TraceyC<kdedev@tlcnet.info>  ---
> Hi,
>
> Please don't interrupt your holidays for the sake of this bug :)  It will
> remain open for 30 days before auto-closing if there's not response before
> then.
>
> What I meant by git-master is that I have Plasma compiled from the master
> Plasma branch.
>
> When you're back from holiday, I have a question. You had put "master" as the
> version of Digital Clock in your bug report. How did you install it?
>
Comment 5 TraceyC 2024-07-24 17:59:13 UTC
Thanks for the additional details, Berbigou. The issue should be fixed on your system after Plasma updates beyond 6.1.3.
I'm going to close this for now. If the bug still happens on your system after it's updated to Plasma > 6.1.3, feel free to reopen it.
Comment 6 Berbigou 2024-07-25 03:15:11 UTC
Many Thanks