make html_select_date work consistently with 0000-00-00 00:00:00 and 0000-00-00 inputs
make html_select_date work consistently with 0000-00-00 00:00:00 and 0000-00-00 inputs

Thanks to cybot from forums


schwarz-computer-systeme/smarty-lib