Re: Gnumeric ignores locale for dates

On 19/06/07, Allin Cottrell <cottrell wfu edu> wrote:
On Mon, 18 Jun 2007, Jean Bréfort wrote:
> Le lundi 18 juin 2007 à 17:07 +0200, Gerrit Holl a écrit :
> >
> > yesterday I installed Kubuntu after having used Fedora Core 4 for
> > years. I configured a Dutch locale, but when I enter a date in a
> > spreadsheet, it is interpreted as American rather than European:
> > "12/6" is converted to "2007-12-06". Previously, it was converted to
> > "2007-06-12" like I want to. How can I fix this? My locale is
> > "NL_nl.UTF-8".
> 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")

If anyone gets to the bottom of this I'd be interested to hear
what's going on.  I've had users of my program, gretl, complain
that they're not getting the locale decimal point under Kubuntu
(where that's ',').

I can give a little more detail. If I configure a cell to show
European date notation, it accepts European date notation. But if I
confiigure it to have YYYY-MM-DD, it does not. My locale settings are
the same as under Fedora Core 4, my gnumeric version is probably newer
(I don't have access to the old gnumeric version right now). The same
is true for KDE. I didn't have the problem before.

Some more info:
22:55:39:709:gerrit fionnay:~$ locale LC_TIME
%a %d %b %Y %T %Z


%a %b %e %H:%M:%S %Z %Y

With this locale settings for LC_TIME, gnumeric still says 'May'
rather than 'Mei' as well. Other programs (ls, date) have LC_TIME
correctly. Perhaps the problem comes from running a gnome program in
KDE on kubuntu...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]