On Sun, May 20, 2012 at 10:34 PM, Brendan Jurd <dire...@gmail.com> wrote:
> What we don't do is *output* the 'T', but this is pretty easy to
> workaround, e.g., to_char(now(), 'YYYY-MM-DD"T"HH24:MI:SS').  The
> scope of  actually wanting the 'T' is surely pretty minor?
>
> I'd be okay with just adding a note in the manual under Date/Time
> Output to the effect of "Note: ISO 8601 specifies the use of uppercase
> letter 'T' to separate the date and time. Postgres uses a space for
> improved readability, in line with other database systems and RFC
> 3339."

Yes, I believe you are quite right.  My mistake, and I like your
suggestion, too, as it has successfully informed me of the most
accurate rendition of this.

-- 
fdr

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to