diff --git a/src/js/bootstrap-datetimepicker.js b/src/js/bootstrap-datetimepicker.js index 591bf42a5..69707a190 100644 --- a/src/js/bootstrap-datetimepicker.js +++ b/src/js/bootstrap-datetimepicker.js @@ -181,7 +181,7 @@ }, setValue: function(newDate) { - if (!newDate) { + if (newDate === null) { this._unset = true; } else { this._unset = false;