Skip to content

Commit

Permalink
Removed unused helper in date utils (Hacker0x01#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Henrique authored and martijnrusschen committed Jun 14, 2018
1 parent d31fbd5 commit dbf976b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/date_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ function getDiff(date1, date2, unit) {
return date1.diff(date2, unit);
}

function isSame(date1, date2, unit) {
return date1.isSame(date2, unit);
}

// ** Date Constructors **

export function newDate(point) {
Expand Down

0 comments on commit dbf976b

Please sign in to comment.