Re: [DOCS] Add example about date ISO format - Mailing list pgsql-docs

From Erik Wienhold
Subject Re: [DOCS] Add example about date ISO format
Date
Msg-id lpj35vsvlgkyuhovitnkoluu2wshd2j6flzpdvuunqezrvgb24@uhskknynuu6l
Whole thread Raw
In response to Re: [DOCS] Add example about date ISO format  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [DOCS] Add example about date ISO format
List pgsql-docs
On 2023-11-24 18:29 +0100, Bruce Momjian wrote:
> On Thu, Nov 23, 2023 at 09:29:39AM +0100, Laurenz Albe wrote:
> > On Wed, 2023-11-22 at 11:58 -0500, Bruce Momjian wrote:
> > > Okay, I moved it into the "Note" section that talked about ISO 8601
> > > output with "T", in the attached patch.
> > 
> > Fine by me, except that I would rather have "returns" or "produces"
> > instead of the questionable verb "outputs".
> 
> The majority of people seem to want it in table 9.31, so I have moved it
> there.

Fine by me.

> It does almost double the width of the displayed table though. 
> You can see the new output here:
> 
>     https://momjian.us/tmp/pgsql/functions-formatting.html#FUNCTIONS-FORMATTING-EXAMPLES-TABLE
> 
> Patch attached.

Two issues that I fixed in the attached patch:

* the time zone was missing from the result output
* it's called "extended format" not "T format" (the "T" is mandatory
  anyway)

-- 
Erik

Attachment

pgsql-docs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Table-space documentation
Next
From: Alvaro Herrera
Date:
Subject: Re: [DOCS] Add example about date ISO format