 			{@name, @userId, @date, @food, @note, @money} = options
 
 		toString: () ->
-			"#{@name} - #{@food} #{@note} $#{@money} @#{@date.toLocaleString()}"
+			"#{@name} - #{@food} #{@note} $#{@money}}"
 
 	robot.brain.data['orders'] = []
 
 	robot.respond /order\s+(\S*)\s+((\S*\s+)+)?\$(\S*)(\s+for\s+@?(\S*))?/i, (msg) ->
-		robot.logger.debug Util.inspect(msg)
+		#robot.logger.debug Util.inspect(msg)
 		date_current = new Date()
 		food = msg.match[1]
 		note = msg.match[2]

#
# Commands:
#   hubot order <food> <note> $<money> - make an order
#   hubot order <food> <note> $<money> for @somone - make an order for someone
#   hubot order my - show your order
#   hubot order all - show all orders and calculate total money needed.
#	hubot order reset - reset all orders

	robot.respond /order all/i, (msg) ->
		date_current = new Date()
		orders = robot.brain.data.orders
		totalMoney = 0
		if (orders isnt null)
			totalMoney += parseInt( order.money, 10 ) for order in orders
			msg.reply order for order in orders #when order.date.getDate is date_current.getDate
			msg.reply "Total money : #{totalMoney}"
		else
			msg.reply "There has no orders."

	robot.respond /order reset/i, (msg) ->
		robot.brain.data['orders'] = []
		msg.reply "Orders reset !"

	parseTarget = (text) ->
		regexPattern = /order .* for \<@?(\S*)\>/i
		matches = text.match regexPattern
		matches[1]