Project

General

Profile

Defect #5769 » 001_fixed_integer_subtraction.diff

Holger Just, 2010-06-28 19:20

View differences:

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;
(2-2/2)