On Sun, Mar 13, 2005 at 11:12:32AM -0700, Robert Creager wrote:
> 
> Hey All,
> 
> I goofed with the patch I submitted last year for adding 'week' capability to
> the date_trunc function.
> 
> Attached is a patch against HEAD for your review.

It has this comment in it:
                               /* the new year cannot be greater than the
                                * original year, so we subtract one if it is

Can you please explain that?

The "iso" year can be both greater and smaller than the current
year.


Kurt


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to