Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07a5606

Browse files
committed
Make to_char()'s localized month/day names depend on LC_TIME, not LC_MESSAGES.
Euler Taveira de Oliveira
1 parent63e98b5 commit07a5606

File tree

6 files changed

+242
-265
lines changed

6 files changed

+242
-265
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.178 2008/05/15 00:17:39 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.179 2008/05/19 18:08:15 tgl Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -4184,9 +4184,9 @@ SET XML OPTION { DOCUMENT | CONTENT };
41844184
</indexterm>
41854185
<listitem>
41864186
<para>
4187-
Sets the locale to use for formattingdate andtime values.
4188-
(Currently, this setting does nothing, but it might in the
4189-
future.) Acceptable values are system-dependent; see <xref
4187+
Sets the locale to use for formattingdates andtimes, for example
4188+
with the <function>to_char</function> family of
4189+
functions. Acceptable values are system-dependent; see <xref
41904190
linkend="locale"> for more information. If this variable is
41914191
set to the empty string (which is the default) then the value
41924192
is inherited from the execution environment of the server in a

‎doc/src/sgml/func.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.436 2008/05/04 23:19:23 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.437 2008/05/19 18:08:15 tgl Exp $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -5079,7 +5079,8 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
50795079
</row>
50805080
<row>
50815081
<entry><literal>TM</literal> prefix</entry>
5082-
<entry>translation mode (print localized day and month names based on <varname>lc_messages</>)</entry>
5082+
<entry>translation mode (print localized day and month names based on
5083+
<xref linkend="guc-lc-time">)</entry>
50835084
<entry><literal>TMMonth</literal></entry>
50845085
</row>
50855086
<row>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp