Re: 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: Re: bug with >to_char('2007-12-31'::DATE, 'YYYYIW')<
Date: 2007-12-04 19:15:30
Message-ID: fj4903$5h7$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

BTW:

Windows 2003 Server.

LOLL2=# SELECT version();

version
--------------------------------------------------------------------------------
PostgreSQL 8.1.4 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC)
3.4.2 (mingw-special)
(1 row)

Regards :)

Daniel Schuchardt schrieb:
> LOLL2=# SELECT to_char('2007-12-31'::DATE, 'YYYYIW');
> to_char
> ---------
> 200701
> (1 row)
>
>
> 2007-12-31 should be week 2008-01
>
> regards,
>
> Daniel.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gauthier, Dave 2007-12-04 19:21:43 Re: Tuning configuration
Previous Message Daniel Schuchardt 2007-12-04 19:07:50 bug with >to_char('2007-12-31'::DATE, 'YYYYIW')<