Skip to content

Commit 10257fc

Browse files
committed
Fix documentation of to_char/to_timestamp TZ, tz, OF formatting patterns.
These are only supported in to_char, not in the other direction, but the documentation failed to mention that. Also, describe TZ/tz as printing the time zone "abbreviation", not "name", because what they print is elsewhere referred to that way. Per bug #14558.
1 parent 090f21b commit 10257fc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/src/sgml/func.sgml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6062,15 +6062,18 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
60626062
</row>
60636063
<row>
60646064
<entry><literal>TZ</literal></entry>
6065-
<entry>upper case time-zone name</entry>
6065+
<entry>upper case time-zone abbreviation
6066+
(only supported in <function>to_char</>)</entry>
60666067
</row>
60676068
<row>
60686069
<entry><literal>tz</literal></entry>
6069-
<entry>lower case time-zone name</entry>
6070+
<entry>lower case time-zone abbreviation
6071+
(only supported in <function>to_char</>)</entry>
60706072
</row>
60716073
<row>
60726074
<entry><literal>OF</literal></entry>
6073-
<entry>time-zone offset</entry>
6075+
<entry>time-zone offset from UTC
6076+
(only supported in <function>to_char</>)</entry>
60746077
</row>
60756078
</tbody>
60766079
</tgroup>

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