pgsql: Use ISO 8601 format for dates converted to JSON, too.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use ISO 8601 format for dates converted to JSON, too.
Date: 2014-08-18 02:58:03
Message-ID: E1XJD91-0005Mt-HN@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use ISO 8601 format for dates converted to JSON, too.

Commit f30015b6d794c15d52abbb3df3a65081fbefb1ed made this happen for
timestamp and timestamptz, but it seems pretty inconsistent to not
do it for simple dates as well.

(In passing, I re-pgindent'd json.c.)

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e56ec50c1622010c010e1c84bc02ce44285c4f41

Modified Files
--------------
doc/src/sgml/release-9.4.sgml | 7 ++++--
src/backend/utils/adt/json.c | 55 ++++++++++++++++++++++++++++++++---------
2 files changed, 48 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2014-08-18 03:28:52 Re: pgsql: Add missing index terms for replication commands in the document
Previous Message Michael Paquier 2014-08-18 02:48:24 Re: pgsql: Add missing index terms for replication commands in the document