@@ -1943,19 +1943,27 @@ MINUTE TO SECOND
1943
1943
</row>
1944
1944
<row>
1945
1945
<entry><literal>04:05:06.789-8</literal></entry>
1946
- <entry>ISO 8601</entry>
1946
+ <entry>ISO 8601, with time zone as UTC offset </entry>
1947
1947
</row>
1948
1948
<row>
1949
1949
<entry><literal>04:05:06-08:00</literal></entry>
1950
- <entry>ISO 8601</entry>
1950
+ <entry>ISO 8601, with time zone as UTC offset </entry>
1951
1951
</row>
1952
1952
<row>
1953
1953
<entry><literal>04:05-08:00</literal></entry>
1954
- <entry>ISO 8601</entry>
1954
+ <entry>ISO 8601, with time zone as UTC offset </entry>
1955
1955
</row>
1956
1956
<row>
1957
1957
<entry><literal>040506-08</literal></entry>
1958
- <entry>ISO 8601</entry>
1958
+ <entry>ISO 8601, with time zone as UTC offset</entry>
1959
+ </row>
1960
+ <row>
1961
+ <entry><literal>040506+0730</literal></entry>
1962
+ <entry>ISO 8601, with fractional-hour time zone as UTC offset</entry>
1963
+ </row>
1964
+ <row>
1965
+ <entry><literal>040506+07:30:00</literal></entry>
1966
+ <entry>UTC offset specified to seconds (not allowed in ISO 8601)</entry>
1959
1967
</row>
1960
1968
<row>
1961
1969
<entry><literal>04:05:06 PST</literal></entry>
@@ -1991,25 +1999,29 @@ MINUTE TO SECOND
1991
1999
<entry><literal>PST8PDT</literal></entry>
1992
2000
<entry>POSIX-style time zone specification</entry>
1993
2001
</row>
2002
+ <row>
2003
+ <entry><literal>-8:00:00</literal></entry>
2004
+ <entry>UTC offset for PST</entry>
2005
+ </row>
1994
2006
<row>
1995
2007
<entry><literal>-8:00</literal></entry>
1996
- <entry>ISO-8601 offset for PST</entry>
2008
+ <entry>UTC offset for PST (ISO 8601 extended format) </entry>
1997
2009
</row>
1998
2010
<row>
1999
2011
<entry><literal>-800</literal></entry>
2000
- <entry>ISO-8601 offset for PST</entry>
2012
+ <entry>UTC offset for PST (ISO 8601 basic format) </entry>
2001
2013
</row>
2002
2014
<row>
2003
2015
<entry><literal>-8</literal></entry>
2004
- <entry>ISO-8601 offset for PST</entry>
2016
+ <entry>UTC offset for PST (ISO 8601 basic format) </entry>
2005
2017
</row>
2006
2018
<row>
2007
2019
<entry><literal>zulu</literal></entry>
2008
2020
<entry>Military abbreviation for UTC</entry>
2009
2021
</row>
2010
2022
<row>
2011
2023
<entry><literal>z</literal></entry>
2012
- <entry>Short form of <literal>zulu</literal></entry>
2024
+ <entry>Short form of <literal>zulu</literal> (also in ISO 8601) </entry>
2013
2025
</row>
2014
2026
</tbody>
2015
2027
</tgroup>
@@ -2347,6 +2359,24 @@ January 8 04:05:06 1999 PST
2347
2359
</tgroup>
2348
2360
</table>
2349
2361
2362
+ <para>
2363
+ In the <acronym>ISO</acronym> style, the time zone is always shown as
2364
+ a signed numeric offset from UTC, with positive sign used for zones
2365
+ east of Greenwich. The offset will be shown
2366
+ as <replaceable>hh</replaceable> (hours only) if it is an integral
2367
+ number of hours, else
2368
+ as <replaceable>hh</replaceable>:<replaceable>mm</replaceable> if it
2369
+ is an integral number of minutes, else as
2370
+ <replaceable>hh</replaceable>:<replaceable>mm</replaceable>:<replaceable>ss</replaceable>.
2371
+ (The third case is not possible with any modern time zone standard,
2372
+ but it can appear when working with timestamps that predate the
2373
+ adoption of standardized time zones.)
2374
+ In the other date styles, the time zone is shown as an alphabetic
2375
+ abbreviation if one is in common use in the current zone. Otherwise
2376
+ it appears as a signed numeric offset in ISO 8601 basic format
2377
+ (<replaceable>hh</replaceable> or <replaceable>hhmm</replaceable>).
2378
+ </para>
2379
+
2350
2380
<para>
2351
2381
The date/time style can be selected by the user using the
2352
2382
<command>SET datestyle</command> command, the <xref
0 commit comments