Re: How to get dow in Hungarian? - Mailing list pgsql-novice

From Csanyi Pal
Subject Re: How to get dow in Hungarian?
Date
Msg-id 87pq7joyzp.fsf@gmail.com
Whole thread Raw
In response to How to get dow in Hungarian?  (Csanyi Pal <csanyipal@gmail.com>)
List pgsql-novice
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Csanyi Pal <csanyipal@gmail.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

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to get dow in Hungarian?
Next
From: Gregory Kotsaftis
Date:
Subject: Re: Is there an answer to the Ultimate Question for PostgreSQL?