Index: openacs-4/packages/calendar/tcl/calendar-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/calendar-procs.tcl,v diff -u -r1.39.2.14 -r1.39.2.15 --- openacs-4/packages/calendar/tcl/calendar-procs.tcl 14 Feb 2023 14:18:25 -0000 1.39.2.14 +++ openacs-4/packages/calendar/tcl/calendar-procs.tcl 15 Feb 2023 14:19:30 -0000 1.39.2.15 @@ -251,11 +251,9 @@ invalid, we will try to treat the date as an ansi date. - DEPRECATED: clock idioms and modern HTML5 features make this api - less relevant. + DEPRECATED: this api has been superseded by api in acs-templating. - @see template::util::date::create - @see template::util::date::set_property + @see template::data::from_sql::date } { # for now, we recognize only "YYYY-MM-DD" "HH12:MIam" and "HH24:MI". set date [template::util::date::create] @@ -300,7 +298,7 @@ return $date } -ad_proc -public calendar::to_sql_datetime { +ad_proc -deprecated calendar::to_sql_datetime { {-date:required} {-time:required} {-time_p 1} @@ -311,6 +309,10 @@ The issue here is the incoming format. date: ANSI SQL YYYY-MM-DD time: we return HH24. + + DEPRECATED: this api has been superseded by api in acs-templating. + + @see template::data::to_sql::date } { # Set the time to 0 if necessary if {!$time_p} {