Fix issue #320

fix https://github.com/smalot/bootstrap-datetimepicker/issues/320