Skip to content

Commit 5f5cc8f

Browse files
authored
feat: adapt iOS date string format (#678)
1 parent 676758d commit 5f5cc8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const inherits = function inherits(parent, protoProps, staticProps) {
9191
return child;
9292
};
9393

94-
const parseDate = iso8601 => new Date(iso8601);
94+
const parseDate = iso8601 => new Date(Date.parse(iso8601));
9595

9696
const setValue = (target, key, value) => {
9797
// '.' is not allowed in Class keys, escaping is not in concern now.

0 commit comments

Comments
 (0)