Index: openacs.org-dev/packages/calendar/tcl/calendar-outlook-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/calendar/tcl/calendar-outlook-procs.xql,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/calendar/tcl/calendar-outlook-procs.xql 9 Jul 2002 17:35:02 -0000 1.1.1.1 +++ openacs.org-dev/packages/calendar/tcl/calendar-outlook-procs.xql 25 Jul 2002 18:47:00 -0000 1.1.1.2 @@ -1,21 +1,24 @@ - + +select to_char(timezone.utc_to_local(tz_id, utc_time), :format) +from timezones, +(select timezone.local_to_utc(tz_id, to_date(:timestamp,:format)) as utc_time +from timezones where tz= :server_tz) +where tz= :user_tz + + + + + select -to_char(start_date, :date_format) as start_date, -to_char(end_date, :date_format) as end_date, -nvl(e.name,a.name) as name, -nvl(e.description, a.description) as description, -recurrence_id, -item_type_id -from acs_activities a, acs_events e, timespans s, time_intervals t, cal_items - where e.timespan_id = s.timespan_id - and s.interval_id = t.interval_id - and e.activity_id = a.activity_id - and e.event_id = :cal_item_id - and cal_items.cal_item_id = :cal_item_id +recurrence_id, recurrences.interval_type, interval_name, +every_nth_interval, days_of_week, recur_until +from recurrences, recurrence_interval_types +where recurrence_id= :recurrence_id +and recurrences.interval_type = recurrence_interval_types.interval_type