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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why not ISO 8601 format for date values rendered into JSON?
Дата
Msg-id 14119.1408326788@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why not ISO 8601 format for date values rendered into JSON?  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Why not ISO 8601 format for date values rendered into JSON?  (Andrew Dunstan <andrew@dunslane.net>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Why not ISO 8601 format for date values rendered into JSON?
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: replication commands and index terms