   # Robot redmine me <issue>
   robot.respond /(?:redmine|show)(?: me)? (?:issue )?(?:#)?(\d+)/, (msg) ->
     id = msg.match[1]
-    
-    params = 
+
+    params =
       "include": "journals"
-    
+
     redmine.Issue(id).show params, (err, data) ->
       unless data?
         msg.reply "Issue ##{id} doesn't exist."
         return false
-      
+
       issue = data.issue
-      
+
       _ = []
       _.push "\n[#{issue.project.name} - #{issue.priority.name}] #{issue.tracker.name} ##{issue.id} (#{issue.status.name})"
       _.push "Assigned: #{issue.assigned_to?.name ? 'Nobody'} (opened by #{issue.author.name})"

            date = formatDate journal.created_on, 'mm/dd/yyyy (hh:ii ap)'
            _.push "#{journal.user.name} on #{date}:"
            _.push "    #{journal.notes}\n"
      
      msg.reply _.join "\n"

# simple ghetto fab date formatter this should definitely be replaced, but didn't want to 
# introduce dependencies this early
# 
# dateStamp - any string that can initialize a date
# fmt - format string that may use the following elements
#       mm - month

# tries to resolve ambiguous users by matching login or firstname
# redmine's user search is pretty broad (using login/name/email/etc.) so
# we're trying to just pull it in a bit and get a single user
#
# name - this should be the name you're trying to match
# data - this is the array of users from redmine
#
# returns an array with a single user, or the original array if nothing matched
resolveUsers = (name, data) ->
    name = name.toLowerCase();
