Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 22nd, 2005, 08:51 AM
Apa Brun
Guest
 
Posts: n/a
Default Wrong week day language

Hi,

We have a problem with localization of date formats, namely the week
day names.

$> psql foo
foo=# select to_char(now(), 'Dy');
to_char
---------
Wed
(1 row)

We want this to output day names in Swedish instead of English. The
postgresql.conf contains these lines:

lc_messages = 'sv_SE'
lc_monetary = 'sv_SE'
lc_numeric = 'sv_SE'
lc_time = 'sv_SE'

And the system environment language settings are also set to Swedish.
We have also tried to set the variables manually in pgsql with:
SET lc_time = 'sv_SE'

The postgresql version is 7.3.4 and it has been compiled with native
language support (for Swedish).

On our last server this worked properly, but unfortunately we forgot
to save the configuration files.

regards,
Apa



 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,414 network members.