Re: Why not ISO 8601 format for date values rendered into JSON? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Why not ISO 8601 format for date values rendered into JSON?
Date
Msg-id 14119.1408326788@sss.pgh.pa.us
Whole thread Raw
In response to Re: Why not ISO 8601 format for date values rendered into JSON?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Why not ISO 8601 format for date values rendered into JSON?
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Why not ISO 8601 format for date values rendered into JSON?
Next
From: Fujii Masao
Date:
Subject: Re: replication commands and index terms