Re: T is a mandatory date time separator in RFC3339 but documentation states differently

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Roman Frołow <rofrol(at)gmail(dot)com>, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: T is a mandatory date time separator in RFC3339 but documentation states differently
Date: 2023-11-15 11:53:33
Message-ID: 78c14be8-47f2-4624-9d98-3730b492977e@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 15.11.23 09:37, Erik Wienhold wrote:
> On 2023-11-15 08:16 +0100, Peter Eisentraut wrote:
>> The SQL standard does not refer to ISO 8601 to define date formats, it has
>> its own definitions. In fact, PostgreSQL implements more date formats than
>> the SQL standard requires.
>
> Really? Then what does the standard mean with section "Definitions
> taken from ISO 8601" which I quoted in [1]? Just using the term "date"
> without adopting its syntax?

Exactly, it just imports the definitions of those terms.

> And the Postgres docs also say "The SQL standard requires the use of the
> ISO 8601 format." [2]
> [2] https://www.postgresql.org/docs/current/datatype-datetime.html#DATATYPE-DATETIME-OUTPUT

Yeah, that isn't correct.

I think we should reframe "ISO" to mean "ISO 9075" and remove all claims
of alignment with ISO 8601 and RFC 3339.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Erik Wienhold 2023-11-15 12:47:45 Re: T is a mandatory date time separator in RFC3339 but documentation states differently
Previous Message Erik Wienhold 2023-11-15 08:37:57 Re: T is a mandatory date time separator in RFC3339 but documentation states differently