1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Clarify meaning of second DateStyle value.

This commit is contained in:
Bruce Momjian
2004-04-15 04:46:18 +00:00
parent 18229e080c
commit 77c7e8bcb8

View File

@ -1,5 +1,5 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.258 2004/04/07 05:05:49 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.259 2004/04/15 04:46:18 momjian Exp $
--> -->
<Chapter Id="runtime"> <Chapter Id="runtime">
@ -2433,17 +2433,18 @@ SET ENABLE_SEQSCAN TO OFF;
<indexterm><primary>date style</></> <indexterm><primary>date style</></>
<listitem> <listitem>
<para> <para>
Sets the display format for date and time values, as well as Sets the display format for date and time values, as well as the
the rules for interpreting ambiguous date input values. rules for interpreting ambiguous date input values. For
For historical reasons, this variable contains two independent historical reasons, this variable contains two independent
components: the output format specification (<literal>ISO</>, components: the output format specification (<literal>ISO</>,
<literal>Postgres</>, <literal>SQL</>, or <literal>German</>) and <literal>Postgres</>, <literal>SQL</>, or <literal>German</>)
the date field order specification (<literal>DMY</>, <literal>MDY</>, and the input/output specification for year/month/day ordering
or <literal>YMD</>). These can be set separately or together. (<literal>DMY</>, <literal>MDY</>, or <literal>YMD</>). These
The keywords <literal>Euro</> and <literal>European</> are synonyms can be set separately or together. The keywords <literal>Euro</>
for <literal>DMY</>; the keywords <literal>US</>, <literal>NonEuro</>, and <literal>European</> are synonyms for <literal>DMY</>; the
and <literal>NonEuropean</> are synonyms for <literal>MDY</>. keywords <literal>US</>, <literal>NonEuro</>, and
See <xref linkend="datatype-datetime"> for more information. The <literal>NonEuropean</> are synonyms for <literal>MDY</>. See
<xref linkend="datatype-datetime"> for more information. The
default is <literal>ISO, MDY</>. default is <literal>ISO, MDY</>.
</para> </para>
</listitem> </listitem>