Closed Burtonium closed 5 years ago
That would be cool 👍
I also need that~
Specific case: Vue & SSR & runInNewContext: false
Thanks ~
:tada: This issue has been resolved in version 5.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
https://github.com/egoist/vue-timeago#update-locale-globally This may be what you want.
It's not very DRY if I override the locale on every instance. Something like this would be great, but maybe not feasible to have all instances update their props.
VueTimeago.locale = 'ja';