Add detailed information on Australian time zones.
This commit is contained in:
parent
911fc20c41
commit
fd54baa945
@ -1,8 +1,11 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.5 1999/10/12 13:57:04 thomas Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.6 2000/02/02 16:21:06 thomas Exp $
|
||||
Date/time details
|
||||
|
||||
$Log: datetime.sgml,v $
|
||||
Revision 2.6 2000/02/02 16:21:06 thomas
|
||||
Add detailed information on Australian time zones.
|
||||
|
||||
Revision 2.5 1999/10/12 13:57:04 thomas
|
||||
Sequence of date interpretation not quite right.
|
||||
|
||||
@ -422,28 +425,62 @@ Finish initial markup of cvs.sgml, and include it in the programmer's guide
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
<note>
|
||||
<para>
|
||||
If the compiler option USE_AUSTRALIAN_RULES is set
|
||||
then <literal>EST</literal> refers to Australia Eastern Std Time,
|
||||
which has an offset of +10:00 hours from UTC.
|
||||
</para>
|
||||
|
||||
<sect2>
|
||||
<title>Australian Time Zones</title>
|
||||
|
||||
<para>
|
||||
Australian time zones and their naming variants
|
||||
account for fully one quarter of all time zones in the
|
||||
<productname>Postgres</productname> time zone lookup table.
|
||||
</para>
|
||||
</note>
|
||||
There are two naming conflicts with common time zones defined
|
||||
in the United States, <literal>CST</literal> and <literal>EST</literal>.
|
||||
</para>
|
||||
|
||||
<procedure>
|
||||
<para>
|
||||
If the compiler option USE_AUSTRALIAN_RULES is set
|
||||
then <literal>CST</literal> and <literal>EST</literal> will be
|
||||
interpreted using Australian conventions.
|
||||
|
||||
<table tocentry="1">
|
||||
<title><productname>Postgres</productname> Australian Time Zones</title>
|
||||
<titleabbrev>Australian Time Zones</titleabbrev>
|
||||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Time Zone</entry>
|
||||
<entry>Offset from UTC</entry>
|
||||
<entry>Description</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>CST</entry>
|
||||
<entry>+10:30</entry>
|
||||
<entry>Australian Central Standard Time</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>EST</entry>
|
||||
<entry>+10:00</entry>
|
||||
<entry>Australian Eastern Standard Time</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Date/Time Input Interpretation</title>
|
||||
|
||||
<para>
|
||||
The date/time types are all decoded using a common set of routines.
|
||||
</para>
|
||||
|
||||
<procedure>
|
||||
<title>Date/Time Input Interpretation</title>
|
||||
|
||||
<step>
|
||||
<para>
|
||||
Break the input string into tokens and categorize each token as
|
||||
@ -601,6 +638,7 @@ Finish initial markup of cvs.sgml, and include it in the programmer's guide
|
||||
</para>
|
||||
</step>
|
||||
</procedure>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user