Skip to content

Commit f695750

Browse files
committed
Allow to_char() to print localized month and day names.
Euler Taveira de Oliveira
1 parent 3957cf6 commit f695750

File tree

2 files changed

+245
-21
lines changed

2 files changed

+245
-21
lines changed

doc/src/sgml/func.sgml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.305 2006/02/12 03:22:16 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.306 2006/02/12 04:44:15 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -4647,6 +4647,11 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
46474647
<entry>fixed format global option (see usage notes)</entry>
46484648
<entry><literal>FX&nbsp;Month&nbsp;DD&nbsp;Day</literal></entry>
46494649
</row>
4650+
<row>
4651+
<entry><literal>TM</literal> prefix</entry>
4652+
<entry>translation mode (print localized day and month names)</entry>
4653+
<entry><literal>TMMonth</literal></entry>
4654+
</row>
46504655
<row>
46514656
<entry><literal>SP</literal> suffix</entry>
46524657
<entry>spell mode (not yet implemented)</entry>
@@ -4668,6 +4673,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
46684673
</para>
46694674
</listitem>
46704675

4676+
<listitem>
4677+
<para>
4678+
<literal>TM</literal> does not include trailing blanks.
4679+
</para>
4680+
</listitem>
4681+
46714682
<listitem>
46724683
<para>
46734684
<function>to_timestamp</function> and <function>to_date</function>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy