hunk.code_window:     expect(result).to.be.eql(new Date(2014, 11, 1, 22, 59, 59, 999))
     })
     it('supports string as a date', function() {
       var result = endOfHour('2014-12-01T13:00:00.000Z')
       expect(result).to.be.eql(new Date(Date.UTC(2014, 11, 1, 13, 59, 59, 999)))
     })
     it('supports timestamp as a date', function() {
       var result = endOfHour(new Date(2014, 11, 1, 22, 15).getTime())
  
hunk.labels: keep keep keep keep replace replace keep keep keep keep
hunk.after_edit:     var date = new Date(2014, 11, 1, 13).toISOString()
       var result = endOfHour(date)
       expect(result).to.be.eql(new Date(2014, 11, 1, 13, 59, 59, 999))
  
hunk.file_path: src/__tests__/end_of_hour_test.js
hunk.type: replace
file: # Changelog
  
  ## v0.14.11 (21 Aug 2015)
  
  * Improvements:
    - `setIsoWeek` now sets time to the start of the day
    - `format` now uses `parse` to avoid time zone bugs
  
  ## v0.14.10 (29 Jul 2015)
  
  * Additions:
    - `compareAsc`
    - `compareDesc`
    - `addHours`
    - `subHours`
    - `isSameDay`
    - `parse`
    - `getISOYear`
    - `setISOYear`
    - `startOfISOYear`
    - `getISOWeek`
    - `setISOWeek`
  * Bug fixes:
    - `format` now behaves correctly with 12:00 am
    - `format` now behaves correctly with ordinal numbers
  
  ## v0.14.9 (14 Jan 2015)
  
  * Bug fixes:
    - `addMonths` now correctly behaves with febrary (see [#18](https://github.com/js-fns/date-fns/pull/18))
  
  ## v0.14.8 (25 Dec 2014)
  
  * Bug fixes:
    - `format` function now behaves correctly with `pm`/`am`
  
  ## v0.14.6 (4 Dec 2014)
  
  * Bug fixes:
    - Fix broken Bower support
  
  ## v0.14.0 (5 Nov 2014)
  
  * Additions:
    - Bower package
  
  ## v0.13.0 (22 Oct 2014)
  
  * Additions:
    - `addMinutes`
    - `subMinutes`
    - `isEqual`
    - `isBefore`
    - `isAfter`
  
  ## v0.12.1 (19 Oct 2014)
  
  * Bug fixes:
    - Incorrect rounding in `DDD` formatter
  
  ## v0.12.0 (15 Oct 2014)
  
  * Additions:
    - `isSameYear`
  
  ## v0.11.0 (15 Oct 2014)
  
  * Additions:
    - `isWithinRange`
  
  ## v0.10.0 (13 Oct 2014)
  
  * Additions:
    - `format`
    - `startOfYear`
  
  ## v0.9.0 (10 Oct 2014)
  
  * Additions:
    - `isFuture`
  * Improvements:
    - Simplify `isWeekend`
  
  ## v0.8.0 (9 Oct 2014)
  
  * Additions:
    - `addMonths`
    - `subMonths`
    - `setMonth`
    - `setYear`
  * Improvements:
    - Reuse `addDays` inside of `subDays`
  
  ## v0.7.0 (8 Oct 2014)
  
  * Additions:
    - `isSameWeek`
  
  ## v0.6.0 (7 Oct 2014)
  
  * Additions:
    - `isFirstDayOfMonth`
    - `isLastDayOfMonth`
    - `isSameMonth`
  * Bug fixes:
    - Inconsistent behavior of `endOfMonth`
  
  ## v0.5.0 (7 Oct 2014)
  
  * Additions:
    - `addDays`
    - `subDays`
  
  ## v0.4.0 (7 Oct 2014)
  
  * Additions:
    - `startOfWeek`
    - `endOfWeek`
    - `eachDay`
  
  ## v0.3.0 (6 Oct 2014)
  
  * Additions:
    - `endOfDay`
    - `startOfMonth`
    - `endOfMonth`
  * Improvements:
    - `startOfDay` now sets milliseconds as well
  
  ## v0.2.0 (6 Oct 2014)
  
  * Additions:
    - `isToday`
    - `isWeekend`
  
  ## v0.1.0 (6 Oct 2014)
  
  * Additions:
    - `startOfDay`
  
  