diff --git a/src/utils/index.js b/src/utils/index.js index fe54deaa..1d98990b 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -91,7 +91,7 @@ const inherits = function inherits(parent, protoProps, staticProps) { return child; }; -const parseDate = iso8601 => new Date(iso8601); +const parseDate = iso8601 => new Date(Date.parse(iso8601)); const setValue = (target, key, value) => { // '.' is not allowed in Class keys, escaping is not in concern now.