Commit c3275dea authored by Frank Bergmann's avatar Frank Bergmann

- removed ns_log likes from date suport for YYYY-MM-DD

parent 899b758b
......@@ -1037,11 +1037,9 @@ ad_proc -public template::widget::date { element_reference tag_attributes } {
}
# Deal with ]project-open[ date format "YYYY-MM-DD"
ns_log Notice "template::widget::date: value.before=$value"
if {[regexp {^(....)\-(..)\-(..)$} $value match year month day]} {
set value "$year [template::util::leadingTrim $month] [template::util::leadingTrim $day]"
}
ns_log Notice "template::widget::date: value.after=$value"
# Keep taking tokens off the top of the string until out
......
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