src/cal-heatmap.js
function(d) {
		"use strict";

		if (typeof d === "number") {
			d = new Date(d);
		}
		return new Date(d.getFullYear(), d.getMonth()+1, 0);
	}
function(d) {
		"use strict";

		if (typeof d === "number") {
			d = new Date(d);
		}
		return new Date(d.getFullYear(), d.getMonth()+1, 0);
	}
function ( d ) { "use strict" ; if ( typeof d === "number" ) { d = new Date ( d ) ; } return new Date ( d . getFullYear ( ) , d . getMonth ( ) + 1 , 0 ) ; }
Get the last day of the month
@param  Date|int	d	Date or timestamp in milliseconds
@return Date			Last day of the month
Get the last day of the month