Re: Gnumeric ignores locale for dates
- From: "Gerrit Holl" <gerrit holl gmail com>
- To: gnumeric-list gnome org
- Subject: Re: Gnumeric ignores locale for dates
- Date: Wed, 20 Jun 2007 11:56:07 +0200
On 20/06/07, Andreas J. Guelzow <aguelzow math concordia ab ca> wrote:
On Tue, 2007-19-06 at 22:58 +0200, Gerrit Holl wrote:
> > > You are not the first to report a locale problem when running gnmeric in
> > > the KDE desktop. Please, verify the locale passed to gnumeric with the
> > > getenv sheet function:
> > > =getenv("LC_ALL")
Could you please answer this question! The locale you see in a terminal
window might differ from that seen by gnumeric!
I looked in /proc/$(pidof gnumeric)/environ
If I enter:
=getenv("LC_TIME")
This results in: nl_NL.UTF-8
If I enter:
=getenv("LC_ALL")
This results in N/A.
$ cat /proc/$(pidof gnumeric)/environ
KDE_MULTIHEAD=falseSSH_AGENT_PID=6243DM_CONTROL=/var/run/xdmctlTERM=xtermSHELL=/bin/bashHISTSIZE=1000000XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classicGTK2_RC_FILES=/home/gerrit/.gtkrc-2.0-kde:/home/gerrit/.kde/share/config/gtkrc-2.0GTK_RC_FILES=/etc/gtk/gtkrc:/home/gerrit/.gtkrc:/home/gerrit/.kde/share/config/gtkrcGS_LIB=/home/gerrit/.fontsWINDOWID=35651591KDE_FULL_SESSION=trueHISTFILESIZE=1000000USER=gerritLS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:SSH_AUTH_SOCK=/tmp/ssh-DlRlvQ6205/agent.6205SESSION_MANAGER=local/fionnay:/tmp/.ICE-unix/6298KONSOLE_DCOP=DCOPRef(konsole-6339,konsole)DESKTOP_SESSION=defaultPATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/games:/usr/local/gamesKONSOLE_DCOP_SESSION=DCOPRef(konsole-6339,session-3)PWD=/home/gerrit/documenten/studie/Bachelor/microsatLANG=nl_NL.UTF-8PYTHONSTARTUP=/home/gerrit/.pythonrcPS1=\[\033[01;40;32m\]\t:\[\033[36m\]\!:\[\033[34m\]\u\[\033[00m\]
\[\033[01;40;31m\]\h:\[\033[33m\]\w\[\033[37m\]$\[\033[00m\]
HISTCONTROL=ignorebothSHLVL=2HOME=/home/gerritXCURSOR_THEME=kubuntuPYTHONPATH=/usr/lib/python2.2/site-packages/LOGNAME=gerritDBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-OOV7dQhPXg,guid=ce6fd217ec122dd5a4da6d004678eca4LESSOPEN=|/usr/bin/lesspipe%sDISPLAY=:0LC_TIME=nl_NL.UTF-8LESSCLOSE=/usr/bin/lesspipe%s%sCOLORTERM=_=/usr/bin/gnumeric
As you can see, this includes LANG=nl_NL.UTF-8 and LC_TIME=nl_NL.UTF-8.
If I set export LC_ALL=nl_NL.UTF-8 and I repeat the experiment, then I
get from =getenv("LC_ALL"): nl_NL.UTF-8. However, the issue described
remains.
Gerrit.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]