public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: PostgreSQL-documentation <[email protected]>
Subject: Clarification of DateStyle
Date: Thu, 15 Apr 2004 00:47:01 -0400 (EDT)
Message-ID: <[email protected]> (raw)

I have applied the following patch to clarify the meaning of the second
DateStyle field.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [email protected]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Index: runtime.sgml
===================================================================
RCS file: /cvsroot/pgsql-server/doc/src/sgml/runtime.sgml,v
retrieving revision 1.258
diff -c -c -r1.258 runtime.sgml
*** runtime.sgml	7 Apr 2004 05:05:49 -0000	1.258
--- runtime.sgml	15 Apr 2004 04:45:46 -0000
***************
*** 2433,2449 ****
        <indexterm><primary>date style</></>
        <listitem>
         <para>
!         Sets the display format for date and time values, as well as
!         the rules for interpreting ambiguous date input values.
!         For historical reasons, this variable contains two independent
          components: the output format specification (<literal>ISO</>,
!         <literal>Postgres</>, <literal>SQL</>, or <literal>German</>) and
!         the date field order specification (<literal>DMY</>, <literal>MDY</>,
!         or <literal>YMD</>).  These can be set separately or together.
!         The keywords <literal>Euro</> and <literal>European</> are synonyms
!         for <literal>DMY</>; the keywords <literal>US</>, <literal>NonEuro</>,
!         and <literal>NonEuropean</> are synonyms for <literal>MDY</>.
!         See <xref linkend="datatype-datetime"> for more information.  The
          default is <literal>ISO, MDY</>.
         </para>
        </listitem>
--- 2433,2450 ----
        <indexterm><primary>date style</></>
        <listitem>
         <para>
!         Sets the display format for date and time values, as well as the
!         rules for interpreting ambiguous date input values. For
!         historical reasons, this variable contains two independent
          components: the output format specification (<literal>ISO</>,
!         <literal>Postgres</>, <literal>SQL</>, or <literal>German</>)
!         and the input/output specification for year/month/day ordering
!         (<literal>DMY</>, <literal>MDY</>, or <literal>YMD</>). These
!         can be set separately or together. The keywords <literal>Euro</>
!         and <literal>European</> are synonyms for <literal>DMY</>; the
!         keywords <literal>US</>, <literal>NonEuro</>, and
!         <literal>NonEuropean</> are synonyms for <literal>MDY</>. See
!         <xref linkend="datatype-datetime"> for more information. The
          default is <literal>ISO, MDY</>.
         </para>
        </listitem>


Attachments:

  [text/plain] /bjm/diff (2.3K, 2-%2Fbjm%2Fdiff)
  download | inline:
Index: runtime.sgml
===================================================================
RCS file: /cvsroot/pgsql-server/doc/src/sgml/runtime.sgml,v
retrieving revision 1.258
diff -c -c -r1.258 runtime.sgml
*** runtime.sgml	7 Apr 2004 05:05:49 -0000	1.258
--- runtime.sgml	15 Apr 2004 04:45:46 -0000
***************
*** 2433,2449 ****
        <indexterm><primary>date style</></>
        <listitem>
         <para>
!         Sets the display format for date and time values, as well as
!         the rules for interpreting ambiguous date input values.
!         For historical reasons, this variable contains two independent
          components: the output format specification (<literal>ISO</>,
!         <literal>Postgres</>, <literal>SQL</>, or <literal>German</>) and
!         the date field order specification (<literal>DMY</>, <literal>MDY</>,
!         or <literal>YMD</>).  These can be set separately or together.
!         The keywords <literal>Euro</> and <literal>European</> are synonyms
!         for <literal>DMY</>; the keywords <literal>US</>, <literal>NonEuro</>,
!         and <literal>NonEuropean</> are synonyms for <literal>MDY</>.
!         See <xref linkend="datatype-datetime"> for more information.  The
          default is <literal>ISO, MDY</>.
         </para>
        </listitem>
--- 2433,2450 ----
        <indexterm><primary>date style</></>
        <listitem>
         <para>
!         Sets the display format for date and time values, as well as the
!         rules for interpreting ambiguous date input values. For
!         historical reasons, this variable contains two independent
          components: the output format specification (<literal>ISO</>,
!         <literal>Postgres</>, <literal>SQL</>, or <literal>German</>)
!         and the input/output specification for year/month/day ordering
!         (<literal>DMY</>, <literal>MDY</>, or <literal>YMD</>). These
!         can be set separately or together. The keywords <literal>Euro</>
!         and <literal>European</> are synonyms for <literal>DMY</>; the
!         keywords <literal>US</>, <literal>NonEuro</>, and
!         <literal>NonEuropean</> are synonyms for <literal>MDY</>. See
!         <xref linkend="datatype-datetime"> for more information. The
          default is <literal>ISO, MDY</>.
         </para>
        </listitem>

view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Clarification of DateStyle
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox