diff --git a/odometer.js b/odometer.js index dcf926c..8a207c9 100644 --- a/odometer.js +++ b/odometer.js @@ -270,6 +270,9 @@ } _ref1 = parsed.slice(1, 4), repeating = _ref1[0], radix = _ref1[1], fractional = _ref1[2]; precision = (fractional != null ? fractional.length : void 0) || 0; + if( typeof radix === "string" && radix.length === 0 ){ + radix = null; + } return this.format = { repeating: repeating, radix: radix,