Re: Why not ISO 8601 format for date values rendered into JSON?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Why not ISO 8601 format for date values rendered into JSON?
Date: 2014-08-18 01:53:08
Message-ID: 14119.1408326788@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> On 08/17/2014 08:42 PM, Tom Lane wrote:
>> I was just going over the release notes, and noticed the bit about
>> timestamp and timestamptz now being rendered in a fixed ISO-8601-compliant
>> format rather than whatever random DateStyle is in use. That's fine,
>> but I wonder why the same approach wasn't applied to type date?

> But yes, I agree it should be fixed. Whatever we output should be
> suitable as input for the string-argument constructor of class Date.

OK. I think I can fix it, if you don't have time.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2014-08-18 02:38:31 Re: replication commands and index terms
Previous Message Andrew Dunstan 2014-08-18 01:50:01 Re: Why not ISO 8601 format for date values rendered into JSON?