parmarmayur9090 / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Error in one o f method of jquery.datePicker.js #365

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I get this error when i try to use date picker in my page:

TypeError: (intermediate value).zeroTime is not a function
[Break On This Error]   

this.startDate = (new Date()).zeroTime();

 It is err in jquery.datePicker.js file in this method:

setStartDate: function (d) {
if (d) {
if (d instanceof Date) {
this.startDate = d;
} else {
this.startDate = Date.fromString(d);
}
}
if (!this.startDate) {
this.startDate = (new Date()).zeroTime();
}
this.setDisplayedMonth(this.displayedMonth, this.displayedYear);
}, 

Original issue reported on code.google.com by pradhan....@gmail.com on 26 Mar 2013 at 6:04

GoogleCodeExporter commented 8 years ago
Include date.js as per the instructions

Original comment by kelvin.l...@gmail.com on 27 Mar 2013 at 4:20