/**
 * Determines if a date is in the past
 * @method dateHasPassed
 * @param  {Date} date
 * @param  {Object} options
 * @return {Boolean} Returns boolean result
 * @example {{#dateHasPassed date}}
 *   // Do Something
 * {{/dateHasPassed}}
 */
module.exports.dateHasPassed = function dateHasPassed(date, options) {

  var today = new Date().toISOString();
  var date = new Date(date).toISOString();

  if (today > date) {
    return options.fn(this);
  } else {
    return options.inverse(this);
  }
};

// Alias 'dateHasPast'
module.exports.dateHasPast = module.exports.dateHasPassed;

@@ -311,16 +311,121 @@
 ons) %7B%0A%0A
+  if (!date) %7B%0A    console.warn('%5BdateHasPassed%5D date argument should not be missing');%0A    return;%0A  %7D%0A%0A
   var to

check for dateHasPassed helper