Re: DateTime fields

Поиск
Список
Период
Сортировка
От Ted Nolan SRI Augusta GA
Тема Re: DateTime fields
Дата
Msg-id 200006281625.MAA00858@ags.ga.erg.sri.com
обсуждение исходный текст
Ответ на Re: DateTime fields  (Karel Zak <zakkr@zf.jcu.cz>)
Список pgsql-general
In message <Pine.LNX.3.96.1000627094243.5765A-100000@ara.zf.jcu.cz>you write:
>
>On Mon, 26 Jun 2000, Tom Lane wrote:
>
>> "Dale Anderson" <danderso@crystalsugar.com> writes:
>> >     I noticed that the DateTime fields and the to_timestamp function
>> > interpret 12 PM as 00:00 and 12 AM as 12:00.
>>
>> Huh?
>>
>> Looks fine to me.
>
>No, you overlook "to_timestamp()" in query. This routine really has bug in
>PM/AM interpretation.
>
>                    Karel
>

Just wanted to point out that there was a court case (involving "no
parking" signs with confusing hours) several years ago that established
that, for at least parts of the US, 12 Noon is legally neither AM nor
PM.  This actually makes logical sense as well,

    AM is "ante meridiem", ie "before noon"

and
    PM is "post meridiem", ie "after noon"

so noon itself can be neither.



                Ted Nolan

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Trigger (C) question
Следующее
От: "Arthur M. Kang"
Дата:
Сообщение: Lingering Backend Processes