Index: openacs-4/packages/acs-lang/tcl/localization-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/tcl/localization-procs.tcl,v diff -u -N -r1.6 -r1.7 --- openacs-4/packages/acs-lang/tcl/localization-procs.tcl 3 Dec 2002 17:26:54 -0000 1.6 +++ openacs-4/packages/acs-lang/tcl/localization-procs.tcl 12 Dec 2002 13:14:33 -0000 1.7 @@ -414,6 +414,10 @@ (or have an 'on this day in history' style page that goes back a good few hundred years). @return A date formatted for a locale } { + if { [empty_string_p $datetime] } { + return "" + } + if { ![exists_and_not_null locale] } { set locale [ad_conn locale] }