Localization of abbreviated day names

Started by Peter Eisentrautabout 19 years ago2 messages
#1Peter Eisentraut
peter_e@gmx.net

Another issue regarding the to_char localization: DY is documented to use 3
characters, but in German week names are abbreviated to 2 characters. Other
languages will likely have related issues. What should we do here? I'd
favor that we change the 3 characters to "some fixed length". Other ideas?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

#2Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#1)
Re: Localization of abbreviated day names

Peter Eisentraut wrote:

Another issue regarding the to_char localization: DY is documented to use 3
characters, but in German week names are abbreviated to 2 characters. Other
languages will likely have related issues. What should we do here? I'd
favor that we change the 3 characters to "some fixed length". Other ideas?

Docs updated to:

"3 chars in English, localized lengths vary"

--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +