rem: var fullYear = dateObject.getFullYear(); var lastDayOfPrevYear = new Date(fullYear-1, 11, 31); return Math.floor((dateObject.getTime() - lastDayOfPrevYear.getTime()) / (24*60*60*1000)); } 
add: var day = dateObject.getDate(); while(dateObject.getMonth()){ dateObject = new Date(dateObject.getFullYear(), dateObject.getMonth() - 1); day += dojo.date.getDaysInMonth(dateObject); } return day; }; 
context: dojo.date.locale._getDayOfYear = function(/*Date*/dateObject){	// summary: gets the day of the year as represented by dateObject	var fullYear = dateObject.getFullYear();	var lastDayOfPrevYear = new Date(fullYear-1, 11, 31);	return Math.floor((dateObject.getTime() -		lastDayOfPrevYear.getTime()) / (24*60*60*1000)); // Number}
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/510ed24ceb572a2d11dc4e3a718b9f829b7965f5/locale.js/clean/date/locale.js