hunk.code_window:     var result = startOfHour(date)
       expect(result).to.be.eql(
         new Date('2014-09-02T11:00:00')
       )
     })
     it('does not mutate original date', function() {
  
hunk.labels: keep replace replace replace keep keep keep
hunk.after_edit:     expect(result).to.be.eql(new Date(2014, 8 /* Sep */, 2, 11))
  
hunk.file_path: src/__tests__/start_of_hour_test.js
hunk.type: replace
file: var startOfDay = require('./start_of_day')
  
  /**
   * Is passed date today?
   * @param {date|string} dirtyDate
   * @returns {boolean}
   */
  var isToday = function(dirtyDate) {
    var date = new Date(dirtyDate)
    return startOfDay(date).getTime() == startOfDay(new Date()).getTime()
  }
  
  module.exports = isToday
  
  