Re: ISO8601 vs POSIX offset clarification

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ISO8601 vs POSIX offset clarification
Дата
Msg-id 21940.1512356153@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ISO8601 vs POSIX offset clarification  (Bharanee Rathna <deepfryed@gmail.com>)
Ответы Re: ISO8601 vs POSIX offset clarification  (Bharanee Rathna <deepfryed@gmail.com>)
Список pgsql-general
Bharanee Rathna <deepfryed@gmail.com> writes:
> the documentation around how numeric offsets are parsed from strings is a
> bit confusing, are they supposed to be treated as ISO8601 or POSIX ?

Our documentation about this says clearly that Postgres considers offsets
to be ISO (positive-east-of-Greenwich) everywhere except in POSIX-style
time zone names.

> The Table 8-12. Time Zone Input section at
> https://www.postgresql.org/docs/9.3/static/datatype-datetime.html seems to
> imply that numeric offsets would be treated as ISO8601.

How do you read an entry such as

    -8:00    |    ISO-8601 offset for PST

as being in any way vague about which convention the "-8" is read in?

            regards, tom lane


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

Предыдущее
От: Bharanee Rathna
Дата:
Сообщение: ISO8601 vs POSIX offset clarification
Следующее
От: Bharanee Rathna
Дата:
Сообщение: Re: ISO8601 vs POSIX offset clarification