Bug 2273561

Summary: clock applet: localized date display format is strange.
Product: [Fedora] Fedora Reporter: Tsukahara Ken <tsukahara.ken>
Component: mate-panelAssignee: Wolfgang Ulbrich <raveit65.sun>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 40CC: raveit65.sun, redhat-bugzilla
Target Milestone: ---Keywords: Translation
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mate-panel-1.28.1-1.fc40 mate-panel-1.26.4-2.fc39 mate-panel-1.26.4-2.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-22 00:58:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for the spec file
none
Fedora 40 screen shot
none
Fedora 35 screen shot none

Description Tsukahara Ken 2024-04-05 07:35:01 UTC
This seems to be upstream issue. Unfortunately the translation entry for the date format (in po file) was marked fuzzy and c-format, so it was discarded when making corresponding gmo file.

[po/ja.po]
#. Translators: This is a strftime format string.
#. * It is used to display the date. Replace %e with %d if, when
#. * the day of the month as a decimal number is a single digit,
#. * it should begin with a 0 in your locale (e.g. "May 01"
#. * instead of "May  1").
#: applets/clock/clock.c:477
#, fuzzy, c-format
#| msgid "%a %b %e"
msgid "%a %b %e"
msgstr "%b%e日 (%a)"


Reproducible: Always

Steps to Reproduce:
1. Set system locale to ja_JP.UTF-8.
2. Login with mate desktop.
3. Show clock applet on the menu bar.

Actual Results:  
Date order becomes day-of-the-week, month, day.

Expected Results:  
Date order should be month, day, day-of-the-week.

I know Fedora 39 also have this issue, but Fedora 35 does not.

Workaround:
Refresh translation message catalogs in spec file(see attachment).

Comment 1 Tsukahara Ken 2024-04-05 07:59:06 UTC
Created attachment 2025340 [details]
Patch for the spec file

Comment 2 Tsukahara Ken 2024-04-05 08:01:42 UTC
Created attachment 2025341 [details]
Fedora 40 screen shot

Comment 3 Tsukahara Ken 2024-04-05 08:02:41 UTC
Created attachment 2025342 [details]
Fedora 35 screen shot

Comment 4 Wolfgang Ulbrich 2024-04-05 08:56:31 UTC
Please file out an upstream issue at github.
https://github.com/mate-desktop/mate-panel/issues

Comment 5 Tsukahara Ken 2024-04-05 09:36:45 UTC
I see. I have just posted this issue at github.
https://github.com/mate-desktop/mate-panel/issues/1438

Comment 6 Fedora Update System 2024-04-13 10:32:08 UTC
FEDORA-2024-5373d95045 (mate-desktop-1.28.2-1.fc40 and mate-panel-1.28.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5373d95045

Comment 7 Fedora Update System 2024-04-14 02:05:48 UTC
FEDORA-2024-5373d95045 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5373d95045`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5373d95045

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-04-15 07:55:13 UTC
FEDORA-2024-0fd0400de2 (mate-panel-1.26.4-2.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-0fd0400de2

Comment 9 Fedora Update System 2024-04-15 07:55:57 UTC
FEDORA-2024-e454cd1464 (mate-panel-1.26.4-2.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e454cd1464

Comment 10 Tsukahara Ken 2024-04-15 08:34:38 UTC
mate-panel-1.28.1-1.fc40:
The version description in changelog seems to be wrong. Please check and correct it.

%changelog
* Fri Apr 12 2024 Wolfgang Ulbrich <fedora> - 1.28.2-1
- update to 1.28.2
- fix rhbz (#2273561)

Comment 11 Wolfgang Ulbrich 2024-04-15 16:53:28 UTC
I will fix it next time when i do a new build.
But i don't do a new build only for a typo.

Comment 12 Fedora Update System 2024-04-22 00:58:25 UTC
FEDORA-2024-5373d95045 (mate-desktop-1.28.2-1.fc40 and mate-panel-1.28.1-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2024-04-23 01:19:43 UTC
FEDORA-2024-0fd0400de2 (mate-panel-1.26.4-2.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2024-04-23 02:04:55 UTC
FEDORA-2024-e454cd1464 (mate-panel-1.26.4-2.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.