Bug 2904

Summary: xclock does not use locales
Product: xorg Reporter: jack_mort <mort_jack>
Component: App/otherAssignee: Xorg Project Team <xorg-team>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: high CC: alan.coopersmith, roland.mainz
Version: unspecifiedKeywords: i18n
Hardware: x86 (IA32)   
OS: Linux (All)   
i915 platform: i915 features:

Description jack_mort 2005-04-04 11:11:02 UTC
When using xclock in digital mode, specifying some strftime format, it's always
using english.

See here for a patch : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=259423
Comment 1 Alan Coopersmith 2005-04-04 11:23:50 UTC
Have you tried Xorg CVS head since I putback this fix which I think also 
fixes this?   (It went in post-6.8.0 and hasn't been pulled into 6.8.1 or 6.8.2
so is only in CVS head right now.)

2004-10-30  Alan Coopersmith  <alan.coopersmith@sun.com>

	* xc/programs/xclock/Imakefile,Clock.c,ClockP.h,xclock.c:
	Internationalize digital output (Sun bug id #4119396 - fix by
	Steve Swales),  add -bgpixmap option to set XPM file as background
	(originally from STSF project version of xclock by Alan Coopersmith)

It includes a setlocale(LC_ALL,"") as well as changes to handle other character
Comment 2 jack_mort 2005-04-04 11:39:05 UTC
Sorry, I didn't try CVS. I'm with 6.8.2 so as you say, it seems this patch was
forgotten :-(

I'll wai for next release and "reopen" the bug if the patch is still not
included ;-)

Comment 3 Alan Coopersmith 2005-05-15 13:11:08 UTC
Marking as fixed, since the change in HEAD should cover it.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.