Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'
Дата
Msg-id 7015.1063061103@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ISO 8601 'Time Intervals' of the 'format with time-unit  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'
Список pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> Yes, but by the same token "iso8601" isn't specific enough either.
>> Several of the other input formats we support have at least as good a
>> claim on that name.

> The only input formats we support are along the lines of

> @ 1 year 2 mons 3 days 4 hours 5 mins 6 secs
> @ 1 year 2 mons 3 days 04:05:06

Sorry, I was thinking of timestamp formats not intervals.
You're right that we don't have anything else particularly ISO-standard
for intervals, but my understanding is that formats like '2003-09-08
18:43:31.046283-04' are ISO8601 compatible for timestamps.  (Possibly
you need to put a T in there for strict compatibility, not sure.)

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: ISO 8601 'Time Intervals' of the 'format with time-unit
Следующее
От: "Ron Mayer"
Дата:
Сообщение: Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'