Index: openacs-4/packages/calendar/www/cal-weekview-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/Attic/cal-weekview-oracle.xql,v diff -u -r1.3.4.1 -r1.3.4.2 --- openacs-4/packages/calendar/www/cal-weekview-oracle.xql 2 Mar 2003 22:41:37 -0000 1.3.4.1 +++ openacs-4/packages/calendar/www/cal-weekview-oracle.xql 6 Mar 2003 11:52:19 -0000 1.3.4.2 @@ -8,7 +8,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') - cast(7 as interval), 'SUNDAY')) + to_char(next_day(to_date(:current_date, 'yyyy-mm-dd')-7, 'SUNDAY')) as sunday_of_the_week, to_char(next_day(to_date(:current_date, 'yyyy-mm-dd'), 'Saturday')) as saturday_of_the_week