Commit fd54baa9 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add detailed information on Australian time zones.

parent 911fc20c
<!-- <!--
$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 Date/time details
$Log: datetime.sgml,v $ $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 Revision 2.5 1999/10/12 13:57:04 thomas
Sequence of date interpretation not quite right. 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 ...@@ -422,28 +425,62 @@ Finish initial markup of cvs.sgml, and include it in the programmer's guide
</tbody> </tbody>
</tgroup> </tgroup>
</table> </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> </para>
<sect2>
<title>Australian Time Zones</title>
<para> <para>
Australian time zones and their naming variants Australian time zones and their naming variants
account for fully one quarter of all time zones in the account for fully one quarter of all time zones in the
<productname>Postgres</productname> time zone lookup table. <productname>Postgres</productname> time zone lookup table.
There are two naming conflicts with common time zones defined
in the United States, <literal>CST</literal> and <literal>EST</literal>.
</para> </para>
</note>
<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> </para>
</sect2>
<procedure> <sect2>
<title>Date/Time Input Interpretation</title> <title>Date/Time Input Interpretation</title>
<para> <para>
The date/time types are all decoded using a common set of routines. The date/time types are all decoded using a common set of routines.
</para> </para>
<procedure>
<title>Date/Time Input Interpretation</title>
<step> <step>
<para> <para>
Break the input string into tokens and categorize each token as 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 ...@@ -601,6 +638,7 @@ Finish initial markup of cvs.sgml, and include it in the programmer's guide
</para> </para>
</step> </step>
</procedure> </procedure>
</sect2>
</sect1> </sect1>
<sect1> <sect1>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment