Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnvdl committed Jun 17, 2015
1 parent d27a0bb commit c77ecb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/cross-datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,9 @@
}
else if(typeof arg === 'string') {
var array = arg.split("-");
y = parseInt(arg[0]);
m = parseInt(arg[1]);
d = parseInt(arg[2]);
y = parseInt(array[0]);
m = parseInt(array[1]);
d = parseInt(array[2]);
}
else {
y = arg.year || arg.y;
Expand Down
12 changes: 1 addition & 11 deletions src/cross-datepicker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c77ecb1

Please sign in to comment.