Index: openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl,v diff -u -N -r1.61.2.35 -r1.61.2.36 --- openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 13 Sep 2022 16:55:16 -0000 1.61.2.35 +++ openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 7 Feb 2023 13:15:06 -0000 1.61.2.36 @@ -438,7 +438,7 @@
date
Pluggable filter, installed by default, that makes sure the array validates as a date. Use this filter with :array to do automatic date filtering. To use it, set up in your HTML form - a call to [ad_dateentrywidget varname]. Then on the receiving page, specify the filter using + a call to a date formfield. Then on the receiving page, specify the filter using varname:array,date. If the date validates, there will be a variable set in your environment varname with four keys: day, month, year, and date. You can safely pass $varname(date) to Oracle. Index: openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl,v diff -u -N -r1.23.2.9 -r1.23.2.10 --- openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl 8 Sep 2022 10:12:20 -0000 1.23.2.9 +++ openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl 7 Feb 2023 13:15:06 -0000 1.23.2.10 @@ -213,8 +213,15 @@ return $return_string } -ad_proc ad_dateentrywidget {column { value 0 } } { +ad_proc -deprecated ad_dateentrywidget {column { value 0 } } { Returns form pieces for a date entry widget. A null date may be selected. + + DEPRECATED: many better alternatives exist for date-entry widgets, + which would also support localization. + + @see template::data::validate::h5date + @see template::data::validate::h5time + @see dt_widget_datetime } { # if you would like the default to be null, call with value= "" Index: openacs-4/packages/assessment/www/doc/display_types.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/doc/display_types.adp,v diff -u -N -r1.7.2.3 -r1.7.2.4 --- openacs-4/packages/assessment/www/doc/display_types.adp 3 Sep 2021 09:16:30 -0000 1.7.2.3 +++ openacs-4/packages/assessment/www/doc/display_types.adp 7 Feb 2023 13:15:06 -0000 1.7.2.4 @@ -52,10 +52,8 @@
  • html_display_options - field to specify other stuff like textarea dimensions ("rows=10 cols=50" eg)
  • as_item_default - optional field that sets what the as_item -will display when first output (eg text in a textbox; eg the -defaults that ad_dateentrywidget expects: "" for "no -date", "0" for "today", or else some -specific date set by the author; see +will display when first output (e.g. text in a textbox, such as the defaults from formwidgets, or else +some specific date set by the author; see this example)
  • Depending on the presentation_types additional Index: openacs-4/packages/assessment/www/doc/display_types.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/doc/display_types.html,v diff -u -N -r1.9.2.2 -r1.9.2.3 --- openacs-4/packages/assessment/www/doc/display_types.html 5 Oct 2019 13:43:47 -0000 1.9.2.2 +++ openacs-4/packages/assessment/www/doc/display_types.html 7 Feb 2023 13:15:06 -0000 1.9.2.3 @@ -58,8 +58,7 @@ textarea dimensions ("rows=10 cols=50" eg)

  • as_item_default - optional field that sets what the as_item will -display when first output (eg text in a textbox; eg the defaults that -ad_dateentrywidget expects: "" for "no date", "0" for "today", or else +display when first output (eg text in a textbox, such as the defaults from formwidgets, or else some specific date set by the author; see this example)