Board Logo

problem with calendar
ariel - 9/17/2009 at 02:23 PM

a problem, why ?


aemege - 10/1/2009 at 06:20 PM

Search for the line 230

where said:
d_current.setDate(++n_date);
while (d_current.getDate() != n_date && d_current.getMonth() == n_month) {
d_current.setHours(d_current.getHours + 1);
d_current = f_tcalResetTime(d_current);
}
Change to:
d_current.setDate(d_current.getDate()+1);
++n_date;


aemege - 10/1/2009 at 06:53 PM

Updated, try this:

d_current.setDate(++n_date);
while (d_current.getDate() != n_date && d_current.getMonth() == n_month) {
d_current.setDate(d_current.getDate()+1);
}


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/