Bug 485041

Summary: german date manpage misses %u
Product: Red Hat Enterprise Linux 5 Reporter: Rainer Traut <rainer.traut>
Component: man-pages-deAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED CANTFIX QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: rainer.traut
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-12 08:21:46 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:

Description Rainer Traut 2009-02-11 10:27:38 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

The german man page misses the format %u.

With german locale:
       %T     Zeit, 24-Stunden (hh:mm:ss)
       %U     Wochennummer des Jahres mit Sonntag als erstem Tag der Woche (00..53)
       %V     Wochennummer des Jahres mit Montag als erstem Tag der Woche (01..53)
       %w     Tag der Woche (0..6);  0 ist Sonntag

with en_US locale:

       %u     day of week (1..7); 1 is Monday
       %U     week number of year, with Sunday as first day of week (00..53)
       %V     ISO week number, with Monday as first day of week (01..53)
       %w     day of week (0..6); 0 is Sunday       


Reproducible: Always

Steps to Reproduce:
1. export LANG=de_DE
2. man date
3. 
Actual Results:  
With german locale:
       %T     Zeit, 24-Stunden (hh:mm:ss)
       %U     Wochennummer des Jahres mit Sonntag als erstem Tag der Woche (00..53)
       %V     Wochennummer des Jahres mit Montag als erstem Tag der Woche (01..53)
       %w     Tag der Woche (0..6);  0 ist Sonntag

Expected Results:  
%u description

The german man page is missing the %u format string. Problem is, this format is the commonly used german format, with weeks starting on monday.

Comment 1 Ondrej Vasik 2009-02-11 11:06:06 UTC
Thanks for report. That manpage is not from coreutils package - coreutils do ship just english manpages and info documentation and string translations for languages. As %u is present in string translation (--help) error is only on side of man-pages-de. As a note: Missing %u description still present in Fedora Rawhide. Reassigning to man-pages-de.

Comment 2 Marcela Mašláňová 2009-02-11 12:13:44 UTC
The German pages are out of date for a long time because there are no new releases from upstream project. I strongly suggest using English manual.

This one problem could be fixed but I don't think there will be RHEL update for such a small change.

Comment 3 Rainer Traut 2009-02-11 13:11:12 UTC
Sorry I do not understand.
The upstream project is gnu coreutils; looking inside the oldest version of coreutils on their ftp (coreutils-5.0.tar.bz2) I do not see any localized man page inside.
Who has stopped updating localized man pages?

Comment 4 Marcela Mašláňová 2009-02-11 13:17:37 UTC
As was told in comment#1 man page isn't part of coreutils but man-pages-de. And those man pages are outdated. The upstream project is located here http://www.infodrom.org/projects/manpages-de/changes.php

Comment 5 Rainer Traut 2009-02-11 13:33:56 UTC
Your link seems wrong, the latest release is here
http://www.infodrom.org/projects/manpages-de/news-2006-11-27.php
But this newer version 0.5 has the same bug so it is not relevant to this bug.

I deinstalled man-pages-de and am using now english versions...

Comment 6 Marcela Mašláňová 2009-10-12 08:21:46 UTC
man-pages-de has dead upstream, last release was made 3 years ago -> closing as cantfix