Commit d2b694d8 authored by Bruce Momjian's avatar Bruce Momjian

Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.

Euler Taveira de Oliveira
parent 40960094
This diff is collapsed.
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Portions Copyright (c) 2002-2006, PostgreSQL Global Development Group * Portions Copyright (c) 2002-2006, PostgreSQL Global Development Group
* *
* $PostgreSQL: pgsql/src/backend/utils/adt/pg_locale.c,v 1.37 2006/10/04 00:29:59 momjian Exp $ * $PostgreSQL: pgsql/src/backend/utils/adt/pg_locale.c,v 1.38 2006/11/24 15:26:18 momjian Exp $
* *
*----------------------------------------------------------------------- *-----------------------------------------------------------------------
*/ */
...@@ -26,8 +26,7 @@ ...@@ -26,8 +26,7 @@
* required information obtained from localeconv(), and set them back. * required information obtained from localeconv(), and set them back.
* The cached information is only used by the formatting functions * The cached information is only used by the formatting functions
* (to_char, etc.) and the money type. For the user, this should all be * (to_char, etc.) and the money type. For the user, this should all be
* transparent. (Actually, LC_TIME doesn't do anything at all right * transparent.
* now.)
* *
* !!! NOW HEAR THIS !!! * !!! NOW HEAR THIS !!!
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment