Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 83611 - rpm -q --changelog date format should be gettextized
rpm -q --changelog date format should be gettextized
Product: Red Hat Public Beta
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-02-06 04:50 EST by Nakai
Modified: 2007-04-18 12:50 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-02 19:10:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
rpm-4.2-datei18n.patch (316 bytes, patch)
2003-02-06 04:50 EST, Nakai
no flags Details | Diff

  None (edit)
Description Nakai 2003-02-06 04:50:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.2.1) Gecko/20030115

Description of problem:
rpm -q --changelog shows the date entry, but the order should be
gettextized. Each field like '%a', '%b' will be localized by glibc,
but the order should be changed by each application.

--- rpm-4.2/rpmdb/header.c.orig 2003-02-05 19:57:05.000000000 +0900
+++ rpm-4.2/rpmdb/header.c      2003-02-05 20:01:54.000000000 +0900
@@ -3436,7 +3436,7 @@
        /*@modifies formatPrefix @*/
     return realDateFormat(type, data, formatPrefix, padding, element, 
-                         "%a %b %d %Y");
+                         _("%a %b %d %Y"));

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. LANG=ja_JP.eucJP rpm -q --changelog rpm
2. the date format is crazy.

Additional info:
Comment 1 Nakai 2003-02-06 04:50:55 EST
Created attachment 89891 [details]
Comment 2 Jeff Johnson 2003-04-02 19:10:36 EST
Fixed in CVS, rpm-4.3-0.2 when built (not soon).

Note You need to log in before you can comment on or make changes to this bug.