@@ -1977,19 +1977,27 @@ MINUTE TO SECOND
1977
1977
</row>
1978
1978
<row>
1979
1979
<entry><literal>04:05:06.789-8</literal></entry>
1980
- <entry>ISO 8601</entry>
1980
+ <entry>ISO 8601, with time zone as UTC offset </entry>
1981
1981
</row>
1982
1982
<row>
1983
1983
<entry><literal>04:05:06-08:00</literal></entry>
1984
- <entry>ISO 8601</entry>
1984
+ <entry>ISO 8601, with time zone as UTC offset </entry>
1985
1985
</row>
1986
1986
<row>
1987
1987
<entry><literal>04:05-08:00</literal></entry>
1988
- <entry>ISO 8601</entry>
1988
+ <entry>ISO 8601, with time zone as UTC offset </entry>
1989
1989
</row>
1990
1990
<row>
1991
1991
<entry><literal>040506-08</literal></entry>
1992
- <entry>ISO 8601</entry>
1992
+ <entry>ISO 8601, with time zone as UTC offset</entry>
1993
+ </row>
1994
+ <row>
1995
+ <entry><literal>040506+0730</literal></entry>
1996
+ <entry>ISO 8601, with fractional-hour time zone as UTC offset</entry>
1997
+ </row>
1998
+ <row>
1999
+ <entry><literal>040506+07:30:00</literal></entry>
2000
+ <entry>UTC offset specified to seconds (not allowed in ISO 8601)</entry>
1993
2001
</row>
1994
2002
<row>
1995
2003
<entry><literal>04:05:06 PST</literal></entry>
@@ -2025,25 +2033,29 @@ MINUTE TO SECOND
2025
2033
<entry><literal>PST8PDT</literal></entry>
2026
2034
<entry>POSIX-style time zone specification</entry>
2027
2035
</row>
2036
+ <row>
2037
+ <entry><literal>-8:00:00</literal></entry>
2038
+ <entry>UTC offset for PST</entry>
2039
+ </row>
2028
2040
<row>
2029
2041
<entry><literal>-8:00</literal></entry>
2030
- <entry>ISO-8601 offset for PST</entry>
2042
+ <entry>UTC offset for PST (ISO 8601 extended format) </entry>
2031
2043
</row>
2032
2044
<row>
2033
2045
<entry><literal>-800</literal></entry>
2034
- <entry>ISO-8601 offset for PST</entry>
2046
+ <entry>UTC offset for PST (ISO 8601 basic format) </entry>
2035
2047
</row>
2036
2048
<row>
2037
2049
<entry><literal>-8</literal></entry>
2038
- <entry>ISO-8601 offset for PST</entry>
2050
+ <entry>UTC offset for PST (ISO 8601 basic format) </entry>
2039
2051
</row>
2040
2052
<row>
2041
2053
<entry><literal>zulu</literal></entry>
2042
2054
<entry>Military abbreviation for UTC</entry>
2043
2055
</row>
2044
2056
<row>
2045
2057
<entry><literal>z</literal></entry>
2046
- <entry>Short form of <literal>zulu</literal></entry>
2058
+ <entry>Short form of <literal>zulu</literal> (also in ISO 8601) </entry>
2047
2059
</row>
2048
2060
</tbody>
2049
2061
</tgroup>
@@ -2393,6 +2405,24 @@ TIMESTAMP WITH TIME ZONE '2004-10-19 10:23:54+02'
2393
2405
</tgroup>
2394
2406
</table>
2395
2407
2408
+ <para>
2409
+ In the <acronym>ISO</acronym> style, the time zone is always shown as
2410
+ a signed numeric offset from UTC, with positive sign used for zones
2411
+ east of Greenwich. The offset will be shown
2412
+ as <replaceable>hh</replaceable> (hours only) if it is an integral
2413
+ number of hours, else
2414
+ as <replaceable>hh</replaceable>:<replaceable>mm</replaceable> if it
2415
+ is an integral number of minutes, else as
2416
+ <replaceable>hh</replaceable>:<replaceable>mm</replaceable>:<replaceable>ss</replaceable>.
2417
+ (The third case is not possible with any modern time zone standard,
2418
+ but it can appear when working with timestamps that predate the
2419
+ adoption of standardized time zones.)
2420
+ In the other date styles, the time zone is shown as an alphabetic
2421
+ abbreviation if one is in common use in the current zone. Otherwise
2422
+ it appears as a signed numeric offset in ISO 8601 basic format
2423
+ (<replaceable>hh</replaceable> or <replaceable>hhmm</replaceable>).
2424
+ </para>
2425
+
2396
2426
<para>
2397
2427
The date/time style can be selected by the user using the
2398
2428
<command>SET datestyle</command> command, the <xref