updated for python 3.x and new bootstrap-datetimepicker
updated for python 3.x and new bootstrap-datetimepicker