Skip site navigation (1) Skip section navigation (2)

Re: How to get dow in Hungarian?

From: Csanyi Pal <csanyipal(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to get dow in Hungarian?
Date: 2012-07-26 05:47:06
Message-ID: 87pq7joyzp.fsf@gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Csanyi Pal <csanyipal(at)gmail(dot)com> writes:
>> How can I get the day name say 'monday' not in English but in
>Hungarian? 
>
> The documentation for to_char suggests that you need to say "tmday"
> not just "day" to get a translated day name.  

It works!!

> You might also need to fool with your LC_TIME setting.

I have already these settings.

$ locale

LANG=hu_HU.UTF-8
LANGUAGE=
LC_CTYPE="hu_HU.UTF-8"
LC_NUMERIC="hu_HU.UTF-8"
LC_TIME="hu_HU.UTF-8"
LC_COLLATE="hu_HU.UTF-8"
LC_MONETARY="hu_HU.UTF-8"
LC_MESSAGES="hu_HU.UTF-8"
LC_PAPER="hu_HU.UTF-8"
LC_NAME="hu_HU.UTF-8"
LC_ADDRESS="hu_HU.UTF-8"
LC_TELEPHONE="hu_HU.UTF-8"
LC_MEASUREMENT="hu_HU.UTF-8"
LC_IDENTIFICATION="hu_HU.UTF-8"
LC_ALL=

-- 
Regards from Pal


In response to

pgsql-novice by date

Next:From: Gregory KotsaftisDate: 2012-07-26 07:14:28
Subject: Re: Is there an answer to the Ultimate Question for PostgreSQL?
Previous:From: Tom LaneDate: 2012-07-26 05:23:46
Subject: Re: How to get dow in Hungarian?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group