Index: openacs-4/packages/acs-templating/tcl/data-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/data-procs.tcl,v diff -u -r1.23.2.8 -r1.23.2.9 --- openacs-4/packages/acs-templating/tcl/data-procs.tcl 24 Mar 2021 16:38:42 -0000 1.23.2.8 +++ openacs-4/packages/acs-templating/tcl/data-procs.tcl 30 Jun 2021 07:51:52 -0000 1.23.2.9 @@ -371,7 +371,7 @@ set error_msg [list] if { [info exists textdate] && $textdate ne "" } { if { [regexp {^[0-9]{4}-[0-9]{2}-[0-9]{2}$} $textdate match] } { - if { [catch { clock scan "${textdate}" }] } { + if { [catch { clock scan -format {%Y-%m-%d} "${textdate}" }] } { # the textdate is formatted properly the template::data::transform::textdate proc # will only return correctly formatted dates in iso format, but the date is not # valid so they have entered some info incorrectly