Bug#259423: xclock does not use locales with strftime
Package: xbase-clients
Version: 4.3.0.dfsg.1-4
Severity: normal
Hi !
I've found some problems with xclock... When I launch
xclock -update 1 -digital -strftime "%A %e %B %Y %T"
with proper locales environment variables set, xclock does not uses
locales whereas the strftime function seems to be used : it displays
the current date, but in english, which is not the locale I set up
in my configuration (see below).
I think that a
setlocale(LC_TIME, "");
or something equivalent in the initialization code should make the
difference (or even with LC_ALL after all)...
System informations :
julie[~] uname -a
Linux julie 2.4.26-sparc32-smp #1 SMP Sun Jun 20 02:29:54 PDT 2004 sparc GNU/Linux
julie[~] dpkg -s libc6 | grep ^Version
Version: 2.3.2.ds1-13
julie[~] echo $LANG
fr_FR@euro
julie[~] echo $LC_ALL
fr_FR@euro
This is a Debian Sarge.
Related packages :
ii xfree86-common 4.3.0.dfsg.1-4 X Window System (XFree86) infrastru
ii xserver-xfree86 4.3.0.dfsg.1-4 the XFree86 X server
ii xserver-common 4.3.0.dfsg.1-4 files and utilities common to all X
ii cpp 3.3.4-1 The GNU C preprocessor (cpp)
ii xlibs-data 4.3.0.dfsg.1-4 X Window System client data
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries and
ii libdps1 4.3.0.dfsg.1-4 Display PostScript (DPS) client lib
ii libexpat1 1.95.6-8 XML parsing C library - runtime lib
ii libfontconfig1 2.2.2-2 generic font configuration library
ii libfreetype6 2.1.7-2.1 FreeType 2 font engine, shared libr
ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
ii xlibs 4.3.0.dfsg.1-4 X Window System client libraries me
ii libncurses5 5.4-4 Shared libraries for terminal handl
ii libpng12-0 1.2.5.0-6 PNG library - runtime
ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management
ii libstdc++5 3.3.4-2 The GNU Standard C++ Library v3
ii libxaw7 4.3.0.dfsg.1-4 X Athena widget set library
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 4.3.0.dfsg.1-4 X Window System miscellaneous exten
ii libxft2 2.1.2-6 FreeType-based font drawing library
ii libxi6 4.3.0.dfsg.1-4 X Window System Input extension lib
ii libxmu6 4.3.0.dfsg.1-4 X Window System miscellaneous utili
ii libxmuu1 4.3.0.dfsg.1-4 lightweight X Window System miscell
ii libxpm4 4.3.0.dfsg.1-4 X pixmap library
ii libxrandr2 4.3.0.dfsg.1-4 X Window System Resize, Rotate and
ii libxrender1 0.8.3-7 X Rendering Extension client librar
ii libxt6 4.3.0.dfsg.1-4 X Toolkit Intrinsics
ii libxtrap6 4.3.0.dfsg.1-4 X Window System protocol-trapping e
ii libxtst6 4.3.0.dfsg.1-4 X Window System event recording and
ii libxv1 4.3.0.dfsg.1-4 X Window System video extension lib
ii zlib1g 1.2.1.1-3 compression library - runtime
Thomas
--
¡Attention Femmes ça vous pouvez intéresser!
Ça va?, je m'appelle Santiago et je suis Spagnol, j'ai un petit
appartament a l'ille de Menorca, je te offrir un chaudron. Merçi.
-+- SJ in: Guide du Cabaliste Usenet - La francophonie vaincra -+-
Reply to: