1

for some reasons i would like to change days count of a mooon in jquery ui datepicker library. means all month of the year should have 31 days. the jquery ui datepicker library has a function named _getDaysInMonth:

_getDaysInMonth:function(a,b){32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()}

i changed it to:

_getDaysInMonth:function(a,b){return 31;}

i changed it to return '31' value everytime. but still some month has 30 and 28 days. how can i change it? thanks...

4

0 回答 0