Index: openacs-4/packages/calendar/tcl/cal-item-2-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/Attic/cal-item-2-procs-postgresql.xql,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/calendar/tcl/cal-item-2-procs-postgresql.xql 11 Aug 2003 12:14:15 -0000 1.10
+++ openacs-4/packages/calendar/tcl/cal-item-2-procs-postgresql.xql 13 Aug 2003 16:08:33 -0000 1.11
@@ -14,7 +14,7 @@
- select
+ select
i.cal_item_id,
0 as n_attachments,
to_char(start_date, 'YYYY-MM-DD HH24:MI:SS') as start_date_ansi,
Index: openacs-4/packages/calendar/tcl/cal-item-2-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/Attic/cal-item-2-procs.tcl,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/calendar/tcl/cal-item-2-procs.tcl 11 Aug 2003 12:14:15 -0000 1.9
+++ openacs-4/packages/calendar/tcl/cal-item-2-procs.tcl 13 Aug 2003 16:08:33 -0000 1.10
@@ -66,8 +66,8 @@
# Timezonize
- set row(start_date_ansi) [lc_time_utc_to_local $row(start_date_ansi)]
- set row(end_date_ansi) [lc_time_utc_to_local $row(end_date_ansi)]
+ set row(start_date_ansi) [lc_time_system_to_conn $row(start_date_ansi)]
+ set row(end_date_ansi) [lc_time_system_to_conn $row(end_date_ansi)]
# Localize
set row(start_time) [lc_time_fmt $row(start_date_ansi) "%X"]
@@ -122,6 +122,7 @@
{-edit_all_p 0}
} {
Edit the item
+
} {
cal_item_update $cal_item_id $start_date $end_date $name $description $item_type_id $edit_all_p
}
Index: openacs-4/packages/calendar/tcl/cal-item-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/cal-item-procs-postgresql.xql,v
diff -u -r1.14 -r1.15
--- openacs-4/packages/calendar/tcl/cal-item-procs-postgresql.xql 17 May 2003 10:20:49 -0000 1.14
+++ openacs-4/packages/calendar/tcl/cal-item-procs-postgresql.xql 13 Aug 2003 16:08:33 -0000 1.15
@@ -52,7 +52,7 @@
:creation_ip
)
-
+
Index: openacs-4/packages/calendar/tcl/cal-item-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/cal-item-procs.tcl,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/calendar/tcl/cal-item-procs.tcl 11 Aug 2003 12:14:15 -0000 1.12
+++ openacs-4/packages/calendar/tcl/cal-item-procs.tcl 13 Aug 2003 16:08:33 -0000 1.13
@@ -86,8 +86,8 @@
set date_format "YYYY-MM-DD HH24:MI"
# Convert from user timezone to system timezone
- set start_date [lc_time_local_to_utc $start_date]
- set end_date [lc_time_local_to_utc $end_date]
+ set start_date [lc_time_conn_to_system $start_date]
+ set end_date [lc_time_conn_to_system $end_date]
# find out the timespan_id
set timespan_id [db_exec_plsql insert_timespan {
@@ -164,8 +164,8 @@
set date_format "YYYY-MM-DD HH24:MI"
# Convert from user timezone to system timezone
- set start_date [lc_time_local_to_utc $start_date]
- set end_date [lc_time_local_to_utc $end_date]
+ set start_date [lc_time_conn_to_system $start_date]
+ set end_date [lc_time_conn_to_system $end_date]
# update the events
db_dml update_event ""
Index: openacs-4/packages/calendar/www/cal-item-edit.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/Attic/cal-item-edit.adp,v
diff -u -r1.8 -r1.9
--- openacs-4/packages/calendar/www/cal-item-edit.adp 11 Aug 2003 12:14:16 -0000 1.8
+++ openacs-4/packages/calendar/www/cal-item-edit.adp 13 Aug 2003 16:08:33 -0000 1.9
@@ -1,15 +1,24 @@
-#calendar.Calendar_Edit_Item#
-#calendar.Edit#
-cal_item.title
+
+
+ #calendar.Calendar_Edit_Item#
+ #calendar.Edit#
+ cal_item.title
+
+
+ #calendar.Calendar_Add_Item#
+ #calendar.Add#
+ cal_item.title
+
+
-
+ ROEDEL
|
@@ -22,4 +31,3 @@
-
Index: openacs-4/packages/calendar/www/cal-item-edit.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/Attic/cal-item-edit.tcl,v
diff -u -r1.19 -r1.20
--- openacs-4/packages/calendar/www/cal-item-edit.tcl 11 Aug 2003 12:14:16 -0000 1.19
+++ openacs-4/packages/calendar/www/cal-item-edit.tcl 13 Aug 2003 16:08:33 -0000 1.20
@@ -12,6 +12,8 @@
cal_item_id:integer,notnull
}
+set calendar_list [calendar::calendar_list]
+
# Permissions
# FIXME: we need to add a permissions check here!
Index: openacs-4/packages/calendar/www/cal-item-new.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/cal-item-new.adp,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/calendar/www/cal-item-new.adp 11 Aug 2003 12:14:16 -0000 1.10
+++ openacs-4/packages/calendar/www/cal-item-new.adp 13 Aug 2003 16:08:33 -0000 1.11
@@ -1,9 +1,18 @@
+
-#calendar.Calendar_Add_Item#
-#calendar.Add#
-cal_item.title
+
+ #calendar.Calendar_Edit_Item#
+ #calendar.Edit#
+ cal_item.title
+
+
+ #calendar.Calendar_Add_Item#
+ #calendar.Add#
+ cal_item.title
+
TimePChanged()
+