pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #7796: LC_MESSAGES
2+ messages / 2 participants
[nested] [flat]

* BUG #7796: LC_MESSAGES
@ 2013-01-07 04:17  funnybonn40@yahoo.com
  0 siblings, 1 reply; 2+ messages in thread

From: funnybonn40@yahoo.com @ 2013-01-07 04:17 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      7796
Logged by:          Michael 
Email address:      funnybonn40@yahoo.com
PostgreSQL version: 9.1.7
Operating system:   Windows 7
Description:        

Hello, my engish is not so good, but i try to describe what seems not to
work. Could it be, that the LC_MESSANGES for months and days like 

Months
------
Janary=Januar
February=Februar

Days
----
monday=Montag
Thursdat=Dienstag


not implemented for German? I execute this command:
set datestyle to german
But the result of following query is:
select to_char(current_timestamp,'DAY');
"MONDAY   "

Best regards

Michael





-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #7796: LC_MESSAGES
@ 2013-01-30 14:28  Peter Eisentraut <peter_e@gmx.net>
  parent: funnybonn40@yahoo.com
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2013-01-30 14:28 UTC (permalink / raw)
  To: funnybonn40@yahoo.com; +Cc: pgsql-bugs

On 1/6/13 11:17 PM, funnybonn40@yahoo.com wrote:
> Hello, my engish is not so good, but i try to describe what seems not to
> work. Could it be, that the LC_MESSANGES for months and days like 
> 
> Months
> ------
> Janary=Januar
> February=Februar
> 
> Days
> ----
> monday=Montag
> Thursdat=Dienstag
> 
> 
> not implemented for German? I execute this command:
> set datestyle to german
> But the result of following query is:
> select to_char(current_timestamp,'DAY');
> "MONDAY   "

You need to use the TM modifier to get translated results, and you need
to set lc_time, not lc_messages.

select to_char(current_timestamp,'TMDAY');
 to_char
──────────
 MITTWOCH



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2013-01-30 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-01-07 04:17 BUG #7796: LC_MESSAGES funnybonn40@yahoo.com
2013-01-30 14:28 ` Peter Eisentraut <peter_e@gmx.net>

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