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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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