bug with >to_char('2007-12-31'::DATE, 'YYYYIW')<

From: Daniel Schuchardt <daniel_schuchardt(at)web(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: bug with >to_char('2007-12-31'::DATE, 'YYYYIW')<
Date: 2007-12-04 19:07:50
Message-ID: fj48ho$2qnh$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

LOLL2=# SELECT to_char('2007-12-31'::DATE, 'YYYYIW');
to_char
---------
200701
(1 row)

2007-12-31 should be week 2008-01

regards,

Daniel.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Schuchardt 2007-12-04 19:15:30 Re: bug with >to_char('2007-12-31'::DATE, 'YYYYIW')<
Previous Message Martijn van Oosterhout 2007-12-04 18:58:54 Re: Recovering data via raw table and field separators