Skip to content

Commit c05ef56

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 bde7d6d commit c05ef56

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
@@ -5988,15 +5988,18 @@ SELECT regexp_matches('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
59885988
</row>
59895989
<row>
59905990
<entry><literal>TZ</literal></entry>
5991-
<entry>upper case time-zone name</entry>
5991+
<entry>upper case time-zone abbreviation
5992+
(only supported in <function>to_char</>)</entry>
59925993
</row>
59935994
<row>
59945995
<entry><literal>tz</literal></entry>
5995-
<entry>lower case time-zone name</entry>
5996+
<entry>lower case time-zone abbreviation
5997+
(only supported in <function>to_char</>)</entry>
59965998
</row>
59975999
<row>
59986000
<entry><literal>OF</literal></entry>
5999-
<entry>time-zone offset</entry>
6001+
<entry>time-zone offset from UTC
6002+
(only supported in <function>to_char</>)</entry>
60006003
</row>
60016004
</tbody>
60026005
</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