Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Commit

Permalink
fix: do not use computed property in data() (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive authored and egoist committed Mar 25, 2019
1 parent ea7a89c commit 4b31cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const createTimeago = (opts = {}) => {
const converter = this.converter || opts.converter || defaultConverter
return converter(
datetime || this.datetime,
locales[this.localeName],
locales[this.locale || this.$timeago.locale],
this.converterOptions || {}
)
},
Expand Down

0 comments on commit 4b31cdd

Please sign in to comment.