Created attachment 157268 [details] the clock popup window STEPS TO REPRODUCE 1. display the popup windows with the mouse cursor hovering the clock in the bar 2. 3. OBSERVED RESULT the date format is "mar. mars 14 2023" EXPECTED RESULT mardi 14 mars 2023 SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20230312 KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 KDE Gears 22.12.3 ADDITIONAL INFORMATION
Have you customized the data at all in the Digital Clock widget? Does the issue only appear in the hover tooltip, or does it appear in the popup as well? What about when displaying the date in the panel using the "Long date" or "Short date" formats?
>< Have you customized the data at all in the Digital Clock widget? No >> Does the issue only appear in the hover tooltip Yes >> What about when displaying the date in the panel using the "Short date" format? 14/03/2023 >> What about when displaying the date in the panel using the "Long date" or "long date" formats? mardi 14 mars 2023
Thanks. I'll look into it soon.
For some reason, the line of code that contains Qt.formatDate(tzDate, Locale.LongFormat) returns a string that isn't actually the long date, but a shortened version of it. I haven't figured out why that is yet.
I have the same problem, but for Norwegian Nynorsk. The weekday and month names are properly localized, but the order and punctuation is wrong (it looks like it uses the US order). Also, note this happens *only* when there’s more than one timezone configured. I’ll attach a screenshot. STEPS TO REPRODUCE 1. Configure the digital clock to have at least two time zones. In my example (screenshot) I have Oslo and Aden, and I have my regional settings set to Norwegian Nynorsk. 2. Hover over the clock. OBSERVED RESULT A tooltip is shown, and the heading contains a (medium-sized) date, but the date parts are in the wrong order and have the wrong punctuation: la. juli 29 2023 «la.» is the Norwegian Nynorsk abbreviation for «laurdag» (Saturday), and «juli» is the Norwegian Nynorsk month name for July. EXPECTED RESULT For Norwegian Nynorsk, I would expect: la. 29. juli 2023 or (preferably) laurdag 29. juli 2023 (note the . after the day.) ADDITIONAL INFORMATION If I only have *one* time zone, the date is displayed correctly (but on two lines), in long form: laurdag 29. juli 2023
Created attachment 160603 [details] Wrong date in tooltip for Norwegian Nynorsk The red arrows shows the wrong date format. The two green arrows shows the expected date format (but the weekday need not be abbreviated).
Some additional information: If I click on the clock to open the calendar, and then click on a date, the date is displayed correctly (in the top-left corner), in long form: laurdag 29. juli 2023
*** Bug 469547 has been marked as a duplicate of this bug. ***
Likely fixed by Albert with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4190. Can someone who could reproduce the issue and can build Plasma from source check it out? Thanks a lot!
Fixed for me. There is no more problem.
Yay!