Re: BUG #1563: wrong week returnded by date_trunc('week', - Mailing list pgsql-bugs

From Robert Creager
Subject Re: BUG #1563: wrong week returnded by date_trunc('week',
Date
Msg-id 20050328211543.408519ec@thunder.logicalchaos.org
Whole thread Raw
In response to Re: BUG #1563: wrong week returnded by date_trunc('week',  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
When grilled further on (Sun, 27 Mar 2005 02:26:02 -0500),
Tom Lane <tgl@sss.pgh.pa.us> confessed:

>
> We need to change the function APIs so that date2isoweek passes back
> some indication of which year it thought the week belongs to, and then
> isoweek2date must use that instead of the original year number.
>
> Each of these functions is used in several places, so the change is not
> quite trivial, but still not a big deal.  Who wants to fix it?
>

I'll take a look at it next weekend (4/2 or 4/3) if it's still not done.

Cheers,
Rob

--
 20:43:32 up 14:07,  9 users,  load average: 3.15, 2.76, 2.00
Linux 2.6.5-02 #8 SMP Mon Jul 12 21:34:44 MDT 2004

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Background writer process terminating
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: Background writer process terminating