Commit ba7a75ec authored by Frank Bergmann's avatar Frank Bergmann

- Fixed Klaus issue with date DynFields

parent 3070bcac
......@@ -1019,6 +1019,9 @@ ad_proc -public template::widget::date { element_reference tag_attributes } {
&& [template::util::date::get_property not_null $element(value)]
} {
set value $element(value)
if { [regexp {([0-9]*)-([0-9]*)-([0-9]*)} $value match _year _month _day] } {
set value "$_year $_month $_day 0 0 0 \{YYYY MONTH DD\}"
}
foreach v $value {
lappend trim_value [template::util::leadingTrim $v]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment