caldav::calendars proc set_date_time (protected)

 caldav::calendars[i] set_date_time date time utc tz

Defined in packages/xotcl-core/tcl/01-debug-procs.tcl

Format a date-time value based on the provided date and time components, optionally in utc. This function is just used be the ical parser. GN TODO: TZ is currently ignored, we assume, if not UTC, then use localtime of the host.

Parameters:
date (required)
time (required)
utc (required, boolean)
tz (required)

Testcases:
No testcase defined.
[ show source ]
Show another procedure: