Defect #5769 » 001_fixed_integer_subtraction.diff
public/javascripts/calendar/calendar.js (working copy) | ||
---|---|---|
1105 | 1105 |
var day1 = (date.getDay() - this.firstDayOfWeek) % 7; |
1106 | 1106 |
if (day1 < 0) |
1107 | 1107 |
day1 += 7; |
1108 |
date.setDate(-day1); |
|
1108 |
date.setDate(0-day1);
|
|
1109 | 1109 |
date.setDate(date.getDate() + 1); |
1110 | 1110 | |
1111 | 1111 |
var row = this.tbody.firstChild; |
- « Previous
- 1
- 2
- Next »