- Publicity: Public Only All
calendar-outlook-procs.tcl
Utility functions for syncing Calendar with Outlook taken from SloanSpace v1, hacked for OpenACS by Ben.
- Location:
- packages/calendar/tcl/calendar-outlook-procs.tcl
- Authors:
- wtem@olywa.net
- ben@openforce.biz
Procedures in this file
- calendar::outlook::cal_outlook_gmt_sql (public, deprecated)
- calendar::outlook::format_item (public)
- calendar::outlook::ics_timestamp_format (public)
Detailed information
calendar::outlook::cal_outlook_gmt_sql (public, deprecated)
calendar::outlook::cal_outlook_gmt_sql [ hours ] [ dash ]
Deprecated. Invoking this procedure generates a warning.
Formats the hours to subtract or add to make the date_time be in gmt. DEPRECATED: upstream code stopped using this api in date 2002-07-10.
- Parameters:
- hours (optional, defaults to
"0"
)- dash (optional)
- See Also:
- nothing
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
calendar::outlook::format_item (public)
calendar::outlook::format_item -cal_item_id cal_item_id \ [ -all_occurrences_p all_occurrences_p ] \ [ -client_timezone client_timezone ]
the cal_item_id is obvious. If we want all occurrences, we set all_occurrences_p to true. The client timezone helps to make things right. It is the number offset from GMT.
- Switches:
- -cal_item_id (required)
- -all_occurrences_p (optional, defaults to
"0"
)- -client_timezone (optional, defaults to
"0"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- cal_item_add_delete
calendar::outlook::ics_timestamp_format (public)
calendar::outlook::ics_timestamp_format -timestamp timestamp
the timestamp must be in the format YYYY-MM-DD HH24:MI:SS
- Switches:
- -timestamp (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- cal_item_add_delete