Index: openacs-4/packages/calendar/tcl/calendar-outlook-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/calendar-outlook-procs.tcl,v diff -u -N -r1.16 -r1.17 --- openacs-4/packages/calendar/tcl/calendar-outlook-procs.tcl 27 Oct 2014 16:41:07 -0000 1.16 +++ openacs-4/packages/calendar/tcl/calendar-outlook-procs.tcl 7 Aug 2017 23:48:05 -0000 1.17 @@ -35,7 +35,7 @@ return $timestamp } - ad_proc cal_outlook_gmt_sql {{hours 0} {dash ""}} {formats the hours to substract or add to make the date_time be in gmt} { + ad_proc cal_outlook_gmt_sql {{hours 0} {dash ""}} {formats the hours to subtract or add to make the date_time be in gmt} { # east of gmt is notated as "-", # in order to get gmt (to store the date_time for outlook) # we need to have the hour equal gmt at the same time as the client @@ -52,11 +52,11 @@ ad_proc -public format_item { {-cal_item_id:required} - {-all_occurences_p 0} + {-all_occurrences_p 0} {-client_timezone 0} } { the cal_item_id is obvious. - If we want all occurrences, we set all_occurences_p to true. + 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. @@ -76,7 +76,7 @@ set ics_event "BEGIN:VCALENDAR\r\nPRODID:-//OpenACS//OpenACS 5.0 MIMEDIR//EN\r\nVERSION:2.0\r\nMETHOD:PUBLISH\r\nBEGIN:VEVENT\r\nDTSTART:$DTSTART\r\nDTEND:$DTEND\r\n" # Recurrence stuff - if {$cal_item(recurrence_id) ne "" && $all_occurences_p} { + if {$cal_item(recurrence_id) ne "" && $all_occurrences_p} { set recur_rule "RRULE:FREQ=" @@ -133,3 +133,9 @@ } } + +# Local variables: +# mode: tcl +# tcl-indent-level: 4 +# indent-tabs-mode: nil +# End: