Clarification of DateStyle

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Clarification of DateStyle
Дата
Msg-id 200404150447.i3F4l1E13931@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: Clarification of DateStyle  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
I have applied the following patch to clarify the meaning of the second
DateStyle field.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (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>

В списке pgsql-docs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: PostgreSQL Documentation for use with GNOME/Yelp
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Clarification of DateStyle