Index: openacs-4/contrib/packages/room-reservation/tcl/calendar-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/room-reservation/tcl/calendar-procs-postgresql.xql,v diff -u -r1.1.4.1 -r1.1.4.2 --- openacs-4/contrib/packages/room-reservation/tcl/calendar-procs-postgresql.xql 12 Jul 2004 22:08:42 -0000 1.1.4.1 +++ openacs-4/contrib/packages/room-reservation/tcl/calendar-procs-postgresql.xql 21 Jul 2004 23:26:36 -0000 1.1.4.2 @@ -56,7 +56,7 @@ select to_char(to_date(:current_date, 'yyyy-mm-dd'), 'D') as day_of_the_week, - to_char(next_day(to_date(:current_date, 'yyyy-mm-dd')- '1 week'::timespan, 'Sunday'), 'YYYY-MM-DD') + to_char(next_day(to_date(:current_date, 'yyyy-mm-dd')- '1 week'::interval, 'Sunday'), 'YYYY-MM-DD') as sunday_of_the_week, to_char(next_day(to_date(:current_date, 'yyyy-mm-dd'), 'Saturday'), 'YYYY-MM-DD') as saturday_of_the_week