Skip to content

Commit

Permalink
Merge pull request #159 from danjordan/patch-2
Browse files Browse the repository at this point in the history
Changed parseInt to parseFloat
  • Loading branch information
shazron committed Sep 26, 2011
2 parents d7a7b06 + d5594c4 commit 3e91151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iPhone/DatePicker/DatePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if (typeof PhoneGap !== "undefined") {
}

DatePicker.prototype._dateSelected = function(date) {
var d = new Date(parseInt(date)*1000);
var d = new Date(parseFloat(date)*1000);
if (this._callback)
this._callback(d);
}
Expand Down

0 comments on commit 3e91151

Please sign in to comment.