 
 _parseTime = (command, activeStart, activeEnd) ->
   # parse time component
-  command = command.trimLeft() ? ''
+  command = command.trimLeft() || ''
   activeTime = (activeEnd.diff(activeStart, 'hours', true).toFixed(2))
   time = []
   if match = command.match REGEX.rel_time

_parseMode = (command) ->
  comps = command.split ' '
  [mode, command] = [comps.shift(), comps.join ' ']
  mode = (mode ? '').trim()
  command = (command ? '').trim()
  if mode in MODES
    [mode, command]
  else

  [time, command]

_parseDate = (command) ->
  command = command.trimLeft() || ''
  date = []
  if match = command.match /today/i
    date.push moment()
