Index: openacs-4/packages/acs-datetime/tcl/acs-calendar-2-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-datetime/tcl/acs-calendar-2-procs-postgresql.xql,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/acs-datetime/tcl/acs-calendar-2-procs-postgresql.xql 26 Apr 2002 21:43:03 -0000 1.3 +++ openacs-4/packages/acs-datetime/tcl/acs-calendar-2-procs-postgresql.xql 25 Jul 2002 03:15:12 -0000 1.4 @@ -35,10 +35,10 @@ as saturday_date, to_char(next_day(to_date(:current_date, 'yyyy-mm-dd')-7, 'Sunday') + 6,'J') as saturday_julian, -:current_date - '7 days'::reltime as last_week, -to_char(:current_date - '7'days'::reltime, 'Month DD, YYYY') as last_week_pretty, -:current_date + '7 days'::reltime as next_week, -to_char(:current_date + '7'days'::reltime, 'Month DD, YYYY') as next_week_pretty +:current_date::timestamp - '7 days'::timespan as last_week, +to_char(:current_date::timestamp - '7 days'::timespan, 'Month DD, YYYY') as last_week_pretty, +:current_date::timestamp + '7 days'::timespan as next_week, +to_char(:current_date::timestamp + '7 days'::timespan, 'Month DD, YYYY') as next_week_pretty from dual