Re: A creepy story about dates. How to prevent it?

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: A creepy story about dates. How to prevent it?
Дата
Msg-id Pine.LNX.4.33.0306230742290.23728-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: A creepy story about dates. How to prevent it?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: A creepy story about dates. How to prevent it?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: A creepy story about dates. How to prevent it?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: A creepy story about dates. How to prevent it?  ("Ron Mayer" <ron@intervideo.com>)
Список pgsql-general
On Sun, 22 Jun 2003, Bruce Momjian wrote:

> Bruce Momjian wrote:
> >
> > Reading the subject, "creepy ... dates", that is exactly how I feel
> > about the described current date behavior --- "creepy".
> >
> > Because I have only seen one person defend our current behavior, and
> > many object, I am going to add to TODO:
> >
> >     * Allow current datestyle to restrict dates;  prevent month/day swapping
> >           from making invalid dates valid?
> >     * Prevent month/day swapping of ISO dates to make invalid dates valid
>
> I added a question mark to the first item so we can consider it later.
> Most agreed on the second item, but a few thought the first one might be
> OK as is.

What are ISO dates?  Are those the ones like 22 Feb 2003?  Just wondering.

The one thing that should absolutely be turned off is day/month swapping
on dates of the form: 2003-02-22.

I've seen little actual defense of the current behaviour, I'd say more
like questioning whether or not we should change directions in mid stream
than defense.



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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: [pgsql-advocacy] interesting PHP/MySQL thread
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: [pgsql-advocacy] interesting PHP/MySQL thread