diff --git a/src/common.js b/src/common.js index effa6d2f3a..c65a4e2334 100644 --- a/src/common.js +++ b/src/common.js @@ -245,7 +245,7 @@ }; Sao.common.parse_time = function(format, value) { - if (jQuery.isEmptyObject(value)) { + if (!value) { return null; } var getNumber = function(pattern) {