Correction from the October Crashes

Hi,

I was getting the same problem from Rafael Bandeira.

To make it works, just do it:

On line 12:

succ: function(){
var sd = new Date(this.getFullYear(),this.getMonth(),this.getDate()+1, 1);
sd.setHours(this.getHours(),this.getMinutes(),this.getSeconds(),this.getMilliseconds());
return sd;
},

On October, 12. Javascript not accept´s midnight.
So I just added one hour and it works.

I lost about 3 hours debugging the calendar on Visual Studio 2008.

Gustavo Morada

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options