 	return "#{h}:#{m}:#{s}"
 	
 
-outputSummary = (data, total, grouped) ->
+outputAscii = (data, total, grouped) ->
 	table = new cliTable
 		head: ['Issue', 'Time spent', 'Commit count']
 		colWidth: [100,100,100]

spawn = childProcess.spawn
cliTable = require "cli-table"

outputPossibilities = ["csv", "ascii"]

defaultOutputFormat = outputPossibilities[0]
defaultPauseTime = 20

	
	table.push ["TOTAL:",formatTimeToString(total),data.length]
	console.log table.toString()

outputCsv = (data, total, grouped) ->
	console.log "Issue;Time;Count"
	if grouped?
		for k,v of grouped
			console.log "#{k};" + formatTimeToString(v.effort) + ";#{v.count}"
	console.log "TOTAL;" + formatTimeToString(total) + ";#{data.length}"
	

calcTime = (data) ->
