From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Bruce Momjian <bruce@momjian.us>
To: juha.mustonen@iki.fi
Cc: pgsql-docs@postgresql.org
Subject: Re: [DOCS] Add example about date ISO format
Date: Wed, 22 Nov 2023 10:14:40 +0100
Message-ID: <39ac320937098e42241b947ec1165ae2003bc478.camel@cybertec.at> (raw)
In-Reply-To: <ZV2Eo8P4q_2_F1Qe@momjian.us>
References: <20170217160154.6101.52806@wrigleys.postgresql.org>
<ZV2Eo8P4q_2_F1Qe@momjian.us>
On Tue, 2023-11-21 at 23:33 -0500, Bruce Momjian wrote:
> On Fri, Feb 17, 2017 at 04:01:54PM +0000, juha.mustonen@iki.fi wrote:
> > The following documentation comment has been logged on the website:
> >
> > Page: https://www.postgresql.org/docs/9.6/static/functions-formatting.html
> > Description:
> >
> > The documentation should include an example how to format datetime entry
> > into most commonly known ISO format. This is a bit tricky as literal
> > character needs to included with quotes:
> >
> > to_char(NOW(), 'YYYY-MM-DD"T"HH24:MI:SSZ')
>
> I know this is a six-year-old idea, but it is still a good one. I have
> developed the attached patch I would like to apply to master.
+1 on the idea, but from the context it looks like you added that example
at the regular expression matching functions.
I think the example had best be at "8.5.2. Date/Time Output", in
doc/src/sgml/datatype.sgml around line 2552.
Yours,
Laurenz Albe
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: pgsql-docs@postgresql.org
Cc: laurenz.albe@cybertec.at, bruce@momjian.us, juha.mustonen@iki.fi
Subject: Re: [DOCS] Add example about date ISO format
In-Reply-To: <39ac320937098e42241b947ec1165ae2003bc478.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox