Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan N Salim authored and Ryan N Salim committed Nov 10, 2020
1 parent f69d708 commit ddbe33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/relativeTime/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default (o, c, d) => {
}
}
if (withoutSuffix) return out
const pastOrFuture = (isFuture ? loc.future : loc.past)
const pastOrFuture = isFuture ? loc.future : loc.past
if (typeof pastOrFuture === 'function') {
return pastOrFuture(out)
}
Expand Down

0 comments on commit ddbe33c

Please sign in to comment.