Clarification of DateStyle

Поиск
Список
Период
Сортировка
Искать

Clarification of DateStyle

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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 ****
        date style</></>
        
         
!         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 (ISO</>,
!         Postgres</>, SQL</>, or German</>) and
!         the date field order specification (DMY</>, MDY</>,
!         or YMD</>).  These can be set separately or together.
!         The keywords Euro</> and European</> are synonyms
!         for DMY</>; the keywords US</>, NonEuro</>,
!         and NonEuropean</> are synonyms for MDY</>.
!         See  for more information.  The
          default is ISO, MDY</>.
         
        
--- 2433,2450 ----
        date style</></>
        
         
!         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 (ISO</>,
!         Postgres</>, SQL</>, or German</>)
!         and the input/output specification for year/month/day ordering
!         (DMY</>, MDY</>, or YMD</>). These
!         can be set separately or together. The keywords Euro</>
!         and European</> are synonyms for DMY</>; the
!         keywords US</>, NonEuro</>, and
!         NonEuropean</> are synonyms for MDY</>. See
!          for more information. The
          default is ISO, MDY</>.
         
        

Re: Clarification of DateStyle

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian  writes:
> I have applied the following patch to clarify the meaning of the second
> DateStyle field.

Am I seeing correctly that this is actually just a one-word insertion?
You do your readers no favor by providing patches for comment that
consist largely of content-free rearrangement of line breaks.

			regards, tom lane

Re: Clarification of DateStyle

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Tom Lane wrote:
> Bruce Momjian  writes:
> > I have applied the following patch to clarify the meaning of the second
> > DateStyle field.
> 
> Am I seeing correctly that this is actually just a one-word insertion?
> You do your readers no favor by providing patches for comment that
> consist largely of content-free rearrangement of line breaks.

Yea, confusing.  The change was from:

	and the date field order specification 

to:

        and the input/output specification for year/month/day ordering

When I am in there, I take the opportunity to clean up the arrangement. 
If I don't my new text pushes everything out of alignment.

I guess I could make the changes, do a diff, then reformat before
applying to CVS.  Would that help?

-- 
  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

Re: Clarification of DateStyle

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian  writes:
> I guess I could make the changes, do a diff, then reformat before
> applying to CVS.  Would that help?

Yeah, it'd make it easier to see the forest for the trees...

			regards, tom lane
FAQ