Re: Error: Bad Timestamp Format

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Error: Bad Timestamp Format
Дата
Msg-id 20010913095839.A4379@svana.org
обсуждение исходный текст
Ответ на Re: Error: Bad Timestamp Format  (Thomas Lockhart <lockhart@fourpalms.org>)
Список pgsql-general
On Wed, Sep 12, 2001 at 04:55:35PM +0000, Thomas Lockhart wrote:
> > BTW, i don't know who thought of it but yyyy-dd-mm is a terrible format and
> > should be shot.
>
> Where does yyyy-dd-mm appear in PostgreSQL? What is the issue here?

From the original post:

> vendirza=# SHOW DATESTYLE;
> NOTICE:  DateStyle is ISO with US (NonEuropean) conventions

That's yyyy-dd-mm

What you want is:

# show datestyle;
NOTICE:  DateStyle is ISO with European conventions

Which is yyyy-mm-dd

HTH,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> Magnetism, electricity and motion are like a three-for-two special offer:
> if you have two of them, the third one comes free.

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

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: Re: business perspective
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Error: Bad Timestamp Format