Index: openacs-4/packages/calendar/www/cal-weekview-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/Attic/cal-weekview-postgresql.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/calendar/www/cal-weekview-postgresql.xql 7 Sep 2001 02:49:18 -0000 1.2 +++ openacs-4/packages/calendar/www/cal-weekview-postgresql.xql 15 Sep 2001 07:14:32 -0000 1.3 @@ -8,9 +8,9 @@ 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')-7, 'SUNDAY'),'DAY') + to_char(next_day(to_date(:current_date, 'yyyy-mm-dd')-7, 'SUNDAY'),'YYYY-MM-DD') as sunday_of_the_week, - to_char(next_day(to_date(:current_date, 'yyyy-mm-dd'), 'Saturday'),'DAY') + to_char(next_day(to_date(:current_date, 'yyyy-mm-dd'), 'Saturday'),'YYYY-MM-DD') as saturday_of_the_week from dual