Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MaKleSoft committed Apr 25, 2018
1 parent 68a6a2f commit c469373
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/src/core/util.ts
Expand Up @@ -81,5 +81,5 @@ export function formatDateUntil(startDate: Date|string|number, duration: number)
}

export function isFuture(date: Date|string|number, duration: number) {
return moment(date).add(duration, "days").isAfter();
return moment(date).add(duration, "hours").isAfter();
}
4 changes: 2 additions & 2 deletions app/src/padlock-lite.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions app/src/padlock.js

Large diffs are not rendered by default.

0 comments on commit c469373

Please sign in to comment.