 			e = eventMap[ grid.created_at.format() ]
 			commitsLength = if e.payload.commits then e.payload.commits.length else 0
 			grid.commitsLength = commitsLength
+			grid.created_at = new Date(e.created_at)
 		paintGrids i % 7, Math.floor(i / 7), grid
 
 eventsHandler = (events)->

		square.attr("fill", "#ccc")
	square.attr("stroke-opacity", "0")
	square.hover(->
		$('#github-calendar > .description').text model.created_at
		$('#github-calendar > .description').append ' commits:' + model.commitsLength
	)


		# grid = $('<div>').html( e.type+' '+e.created_at+' '+e.repo.name+' commits:'+commitsLength)
		# $('#github-calendar > .content').append grid

	processedUrls += 1
	if (processedUrls == 10)
		console.log 'draw....'
