pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Torsten Zühlsdorff <foo@meisterderspiele.de>
To: pgsql-bugs@postgresql.org
Subject: Re: Missing Bug-Report #5904?
Date: Fri, 04 Mar 2011 14:34:36 +0100
Message-ID: <4D70EA6C.7030403@meisterderspiele.de> (raw)
In-Reply-To: <201103041421.48462.andres@anarazel.de>
References: <4D70ADE8.2030500@meisterderspiele.de>
	<201103041421.48462.andres@anarazel.de>

Hello Andres,

>> Now for the Problem: There is a problem with the translation of the 
>> english word "March" to the german "März". Instead of "März" i get 
>> "MäRz" (with uppercase "r").
>>
>> You can reproduce it as follow:
>> # SET lc_time = "de_DE.UTF-8";
>> # SELECT to_char('2011-03-04 00:00:01'::date, 'TMMonth YYYY');
>>    to_char
>> -----------
>>   MäRz 2011
>>
>> I did not find the translation file for this, so i can't add a patch or 
>> check for other misspellings.
>>
>> My System:
>> PostgreSQL 9.0.3
>> FreeBSD 8.1-RELEASE
> Thats very likely a problem of your operating systems locales. What spelling 
> does the month have if you construct it with `date` or such?

Done directly at the bash on the same system:
$ date +%B
March
$  export LC_TIME=de_DE.UTF-8
$ date +%B
März

And in PostgreSQL:
# SET lc_time = "de_DE.UTF-8";
SET
# SELECT to_char(current_date, 'TMMonth YYYY');
   to_char
-----------
  MäRz 2011

I also can reproduce this at a FreeBSD 7.0-STABLE.

Greetings,
Torsten




view thread (10+ messages)  latest in thread

Message-ID: <4D70EA6C.7030403@meisterderspiele.de>
Permalink:  ../4D70EA6C.7030403@meisterderspiele.de/
Also on:    postgresql.org/message-id/4D70EA6C.7030403@meisterderspiele.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: foo@meisterderspiele.de
  Subject: Re: Missing Bug-Report #5904?
  In-Reply-To: <4D70EA6C.7030403@meisterderspiele.de>
  References: <4D70ADE8.2030500@meisterderspiele.de> <201103041421.48462.andres@anarazel.de> <4D70EA6C.7030403@meisterderspiele.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox