Skip to content

Commit 77c7e8b

Browse files
committed
Clarify meaning of second DateStyle value.
1 parent 18229e0 commit 77c7e8b

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.258 2004/04/07 05:05:49 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.259 2004/04/15 04:46:18 momjian Exp $
33
-->
44

55
<Chapter Id="runtime">
@@ -2433,17 +2433,18 @@ SET ENABLE_SEQSCAN TO OFF;
24332433
<indexterm><primary>date style</></>
24342434
<listitem>
24352435
<para>
2436-
Sets the display format for date and time values, as well as
2437-
the rules for interpreting ambiguous date input values.
2438-
For historical reasons, this variable contains two independent
2436+
Sets the display format for date and time values, as well as the
2437+
rules for interpreting ambiguous date input values. For
2438+
historical reasons, this variable contains two independent
24392439
components: the output format specification (<literal>ISO</>,
2440-
<literal>Postgres</>, <literal>SQL</>, or <literal>German</>) and
2441-
the date field order specification (<literal>DMY</>, <literal>MDY</>,
2442-
or <literal>YMD</>). These can be set separately or together.
2443-
The keywords <literal>Euro</> and <literal>European</> are synonyms
2444-
for <literal>DMY</>; the keywords <literal>US</>, <literal>NonEuro</>,
2445-
and <literal>NonEuropean</> are synonyms for <literal>MDY</>.
2446-
See <xref linkend="datatype-datetime"> for more information. The
2440+
<literal>Postgres</>, <literal>SQL</>, or <literal>German</>)
2441+
and the input/output specification for year/month/day ordering
2442+
(<literal>DMY</>, <literal>MDY</>, or <literal>YMD</>). These
2443+
can be set separately or together. The keywords <literal>Euro</>
2444+
and <literal>European</> are synonyms for <literal>DMY</>; the
2445+
keywords <literal>US</>, <literal>NonEuro</>, and
2446+
<literal>NonEuropean</> are synonyms for <literal>MDY</>. See
2447+
<xref linkend="datatype-datetime"> for more information. The
24472448
default is <literal>ISO, MDY</>.
24482449
</para>
24492450
</listitem>

0 commit comments

Comments
 (0)