Re: ecmascript 5 DATESTYLE

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: ecmascript 5 DATESTYLE
Дата
Msg-id AANLkTilBUUrEv5CucWlCjG7fvT7lWt_LN4kK0AI55w5U@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ecmascript 5 DATESTYLE  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: ecmascript 5 DATESTYLE  (Mike Fowler <mike@mlfowler.com>)
Список pgsql-hackers
2010/5/19 Peter Eisentraut <peter_e@gmx.net>:
> On tis, 2010-05-18 at 18:26 -0400, Ben Hockey wrote:
>> ecmascript 5 is the most recent specification for JavaScript and i
>> would think that having a DATESTYLE format to simplify
>> interoperability with JavaScript applications would be highly
>> desirable.
>
> Note that we haven't got any other datestyles that are intended to
> support interoperability with some language.  It is usually the job of
> the client driver to convert PostgreSQL data (plural of datum) to the
> appropriate type and format for the client environment or language.  Is
> there any reason why JavaScript would be different?

JavaScript isn't special language, but JSON is wide used format for
interoperability. And same is true for XML datestyle format.

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: ecmascript 5 DATESTYLE
Следующее
От: Mike Fowler
Дата:
Сообщение: Re: ecmascript 5 DATESTYLE