Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit c77ecb1

Browse files
committed
Hotfix
1 parent d27a0bb commit c77ecb1

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

src/cross-datepicker.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,9 @@
422422
}
423423
else if(typeof arg === 'string') {
424424
var array = arg.split("-");
425-
y = parseInt(arg[0]);
426-
m = parseInt(arg[1]);
427-
d = parseInt(arg[2]);
425+
y = parseInt(array[0]);
426+
m = parseInt(array[1]);
427+
d = parseInt(array[2]);
428428
}
429429
else {
430430
y = arg.year || arg.y;

src/cross-datepicker.min.js

Lines changed: 1 addition & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)